mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
Make (subdirs . nil) in .dir-locals.el work
* lisp/files.el (dir-locals-collect-variables): Don't destructively modify the cached structure (bug#17205), because that means that (subdirs . nil) doesn't work.
This commit is contained in:
parent
1559cc445a
commit
75f6b264f5
1 changed files with 1 additions and 1 deletions
|
|
@ -4062,7 +4062,7 @@ Return the new variables list."
|
|||
(subdirs (assq 'subdirs alist)))
|
||||
(if (or (not subdirs)
|
||||
(progn
|
||||
(setq alist (delq subdirs alist))
|
||||
(setq alist (remq subdirs alist))
|
||||
(cdr-safe subdirs))
|
||||
;; TODO someone might want to extend this to allow
|
||||
;; integer values for subdir, where N means
|
||||
|
|
|
|||
Loading…
Reference in a new issue