diff options
| author | Glenn Morris | 2011-02-28 19:05:28 -0800 |
|---|---|---|
| committer | Glenn Morris | 2011-02-28 19:05:28 -0800 |
| commit | 6640b281f372aebe09d0e323b79a9aa7c311fcc2 (patch) | |
| tree | f18250d5164ee22f85af3d5668ece566de9871ff /etc | |
| parent | cead857b3afcf0ed0166f397cb69c478a6c368f6 (diff) | |
| download | emacs-6640b281f372aebe09d0e323b79a9aa7c311fcc2.tar.gz emacs-6640b281f372aebe09d0e323b79a9aa7c311fcc2.zip | |
Add the ability to exclude dir-locals from subdirs. (Bug#8100)
* lisp/files.el (dir-locals-collect-variables):
Add the ability to exclude subdirectories.
* doc/emacs/custom.texi (Directory Variables):
Give an example of excluding subdirectories.
* doc/lispref/variables.texi (Directory Local Variables):
Mention `(subdirs . nil)' alist element.
* etc/NEWS: Mention this addition.
* lisp/dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -353,6 +353,11 @@ Just set shell-dir-cookie-re to an appropriate regexp. | |||
| 353 | will turn on `whitespace-mode' for *vc-diff* buffers. Modes should | 353 | will turn on `whitespace-mode' for *vc-diff* buffers. Modes should |
| 354 | call `hack-dir-local-variables-non-file-buffer' to support this. | 354 | call `hack-dir-local-variables-non-file-buffer' to support this. |
| 355 | 355 | ||
| 356 | +++ | ||
| 357 | ** You can prevent directory local variables from applying to subdirectories. | ||
| 358 | Add an element (subdirs . nil) to the alist portion of any variables | ||
| 359 | settings to indicate said section should not be applied to subdirectories. | ||
| 360 | |||
| 356 | ** ERC changes | 361 | ** ERC changes |
| 357 | 362 | ||
| 358 | *** New vars `erc-autojoin-timing' and `erc-autojoin-delay'. | 363 | *** New vars `erc-autojoin-timing' and `erc-autojoin-delay'. |