aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGlenn Morris2011-02-28 19:05:28 -0800
committerGlenn Morris2011-02-28 19:05:28 -0800
commit6640b281f372aebe09d0e323b79a9aa7c311fcc2 (patch)
treef18250d5164ee22f85af3d5668ece566de9871ff /etc
parentcead857b3afcf0ed0166f397cb69c478a6c368f6 (diff)
downloademacs-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index cfb788940d0..0777dcc3d2a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -353,6 +353,11 @@ Just set shell-dir-cookie-re to an appropriate regexp.
353will turn on `whitespace-mode' for *vc-diff* buffers. Modes should 353will turn on `whitespace-mode' for *vc-diff* buffers. Modes should
354call `hack-dir-local-variables-non-file-buffer' to support this. 354call `hack-dir-local-variables-non-file-buffer' to support this.
355 355
356+++
357** You can prevent directory local variables from applying to subdirectories.
358Add an element (subdirs . nil) to the alist portion of any variables
359settings 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'.