summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2017-06-19 21:28:18 -0400
committerGlenn Morris <rgm@gnu.org>2017-06-19 21:28:18 -0400
commit087e7e96fc158b7a1a41748d5e740d2c45beb67a (patch)
treebb5a4f2b263d82df98a124167c6be85f0d3e4593 /lisp
parentc4bec6cc2ad19b9910b8a502eae36d2a01ddcc85 (diff)
downloademacs-087e7e96fc158b7a1a41748d5e740d2c45beb67a.tar.gz
emacs-087e7e96fc158b7a1a41748d5e740d2c45beb67a.tar.bz2
emacs-087e7e96fc158b7a1a41748d5e740d2c45beb67a.zip
* lisp/files.el (local-enable-local-variables): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/files.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 8ac1993754e..2930f30db7f 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -591,13 +591,14 @@ settings being applied, but still respect file-local ones.")
;; ignore. So AFAICS the only reason this variable exists is for a
;; minor convenience feature for handling of an obsolete Rmail file format.
(defvar local-enable-local-variables t
- "Like `enable-local-variables' but meant for buffer-local bindings.
+ "Like `enable-local-variables', except for major mode in a -*- line.
The meaningful values are nil and non-nil. The default is non-nil.
-If a major mode sets this to nil, buffer-locally, then any local
-variables list in a file visited in that mode will be ignored.
+It should be set in a buffer-local fashion.
-This variable does not affect the use of major modes specified
-in a -*- line.")
+Setting this to nil has the same effect as setting `enable-local-variables'
+to nil, except that it does not ignore any mode: setting in a -*- line.
+Unless this difference matters to you, you should set `enable-local-variables'
+instead of this variable.")
(defcustom enable-local-eval 'maybe
"Control processing of the \"variable\" `eval' in a file's local variables.