diff options
| author | Chong Yidong | 2012-01-06 18:53:41 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-01-06 18:53:41 +0800 |
| commit | 89bd9ccd5bf4c2553bb1403ba71f4ed51dbb09b5 (patch) | |
| tree | b2015490fad1c12f4b1504ae299f1f4bcb173ab3 /etc | |
| parent | 8034735f6fac4719a402face6d31e97f6c067803 (diff) | |
| download | emacs-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/NEWS | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -363,7 +363,7 @@ the remote file-name cache is used for read access. | |||
| 363 | Add an element (subdirs . nil) to the alist portion of any variables | 363 | Add an element (subdirs . nil) to the alist portion of any variables |
| 364 | settings to indicate that the section should not apply to | 364 | settings to indicate that the section should not apply to |
| 365 | subdirectories. | 365 | subdirectories. |
| 366 | 366 | +++ | |
| 367 | *** Directory local variables can apply to some file-less buffers. | 367 | *** Directory local variables can apply to some file-less buffers. |
| 368 | Affected modes include dired, vc-dir, and log-edit. For example, | 368 | Affected modes include dired, vc-dir, and log-edit. For example, |
| 369 | adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will | 369 | adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will |