aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChong Yidong2012-01-06 18:53:41 +0800
committerChong Yidong2012-01-06 18:53:41 +0800
commit89bd9ccd5bf4c2553bb1403ba71f4ed51dbb09b5 (patch)
treeb2015490fad1c12f4b1504ae299f1f4bcb173ab3 /etc
parent8034735f6fac4719a402face6d31e97f6c067803 (diff)
downloademacs-89bd9ccd5bf4c2553bb1403ba71f4ed51dbb09b5.tar.gz
emacs-89bd9ccd5bf4c2553bb1403ba71f4ed51dbb09b5.zip
More customization-related documentation updates.
* doc/emacs/custom.texi (Specifying File Variables): The mode: keyword doesn't have to be first anymore. Add example of specifying minor modes. (Directory Variables): Simplify example. Mention application to non-file buffers. (Disabling): Use "initialization file" terminology. (Init Examples): Fix hook example. * doc/lispref/variables.texi (Directory Local Variables): Document hack-dir-local-variables-non-file-buffer. * lisp/files.el (hack-dir-local-variables-non-file-buffer): Add doc. (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode functions, along with 1 and -1.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index a37456fbc25..0b0e5e571aa 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -363,7 +363,7 @@ the remote file-name cache is used for read access.
363Add an element (subdirs . nil) to the alist portion of any variables 363Add an element (subdirs . nil) to the alist portion of any variables
364settings to indicate that the section should not apply to 364settings to indicate that the section should not apply to
365subdirectories. 365subdirectories.
366 366+++
367*** Directory local variables can apply to some file-less buffers. 367*** Directory local variables can apply to some file-less buffers.
368Affected modes include dired, vc-dir, and log-edit. For example, 368Affected modes include dired, vc-dir, and log-edit. For example,
369adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will 369adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will