diff options
author | Glenn Morris <rgm@gnu.org> | 2011-05-09 19:31:42 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-05-09 19:31:42 -0700 |
commit | b8f82dc15fc7370329930323082d9faf2a5fc7ad (patch) | |
tree | 6d8c9e61daee68c5d443165b2d18ec7af864df84 /etc | |
parent | 4f99f44b34c11935e00eb7acd3d464abd903ab53 (diff) | |
download | emacs-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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'. |