aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs/erlang-flymake.el
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-12-02 12:59:33 +0100
committerBjörn Gustavsson <[email protected]>2016-12-02 12:59:33 +0100
commitd54c12c305425f6126e0fab0b024560df72efb27 (patch)
tree3af7942ab96fc8c9713554ba9eadf8ec658a2dc9 /lib/tools/emacs/erlang-flymake.el
parent27608cfe95d155e56b0cc7503bf910e9b23cd225 (diff)
parent13838af02bc54db57264c4f198bc819809d65481 (diff)
downloadotp-d54c12c305425f6126e0fab0b024560df72efb27.tar.gz
otp-d54c12c305425f6126e0fab0b024560df72efb27.tar.bz2
otp-d54c12c305425f6126e0fab0b024560df72efb27.zip
Merge branch 'richcarl/default-compiler-flags/PR-1226/OTP-14071'
* richcarl/default-compiler-flags/PR-1226/OTP-14071: stdlib test suite: fix uses of export_all diameter tests: Eliminate use of -compile(export_all) asn1 test suite: Suppress warnings for -compile(export_all) Remove left-over uses of -compile(export_all) Make warn_export_all the default warn_obsolete_guard is already default
Diffstat (limited to 'lib/tools/emacs/erlang-flymake.el')
-rw-r--r--lib/tools/emacs/erlang-flymake.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/tools/emacs/erlang-flymake.el b/lib/tools/emacs/erlang-flymake.el
index 2e447b55de..0b7936a81f 100644
--- a/lib/tools/emacs/erlang-flymake.el
+++ b/lib/tools/emacs/erlang-flymake.el
@@ -37,8 +37,7 @@
"Return a list of include directories to add to the compiler options.")
(defvar erlang-flymake-extra-opts
- (list "+warn_obsolete_guard"
- "+warn_unused_import"
+ (list "+warn_unused_import"
"+warn_shadow_vars"
"+warn_export_vars"
"+strong_validation"