summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-05-09 19:31:42 -0700
committerGlenn Morris <rgm@gnu.org>2011-05-09 19:31:42 -0700
commitb8f82dc15fc7370329930323082d9faf2a5fc7ad (patch)
tree6d8c9e61daee68c5d443165b2d18ec7af864df84 /etc
parent4f99f44b34c11935e00eb7acd3d464abd903ab53 (diff)
downloademacs-b8f82dc15fc7370329930323082d9faf2a5fc7ad.tar.gz
Deprecate using "mode:" to enable minor modes (bug#8613)
* lisp/files.el (hack-one-local-variable-eval-safep): Consider "eval: (foo-mode)" to be safe. * doc/emacs/custom.texi (Specifying File Variables): Deprecate using mode: for minor modes. * etc/NEWS: Mention this. * lisp/doc-view.el, lisp/net/soap-client.el: Change "mode:" minor-mode file local variables to use "eval:".
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 9e9778c6ac1..7da456dfc3d 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -267,6 +267,10 @@ default, all themes included in Emacs are treated as safe.
** The user option `remote-file-name-inhibit-cache' controls whether
the remote file-name cache is used for read access.
++++
+** The use of a "mode: minor" specification in a file local variables section
+to enable a minor-mode is deprecated. Instead, use "eval: (minor-mode)".
+
** The standalone programs lib-src/digest-doc and sorted-doc have been
replaced with Lisp commands `doc-file-to-man' and `doc-file-to-info'.