diff options
| author | Glenn Morris | 2014-03-05 21:01:02 -0500 |
|---|---|---|
| committer | Glenn Morris | 2014-03-05 21:01:02 -0500 |
| commit | c94e6ee4993d2c8f676d1a46ef6a16796ebd064d (patch) | |
| tree | 3183c68edc17af6f24d8980175d83bff8296b0d1 | |
| parent | 4da3a85d6c2e9902f5964bff2d5c5ce02b4ba462 (diff) | |
| download | emacs-c94e6ee4993d2c8f676d1a46ef6a16796ebd064d.tar.gz emacs-c94e6ee4993d2c8f676d1a46ef6a16796ebd064d.zip | |
* lisp/emacs-lisp/shadow.el (load-path-shadows-find): Ignore dir-locals.
Fixes: debbugs:12357
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/shadow.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0ccc3f7efa1..04af3ca01a5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-03-06 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/shadow.el (load-path-shadows-find): | ||
| 4 | Ignore dir-locals. (Bug#12357) | ||
| 5 | |||
| 1 | 2014-03-05 Glenn Morris <rgm@gnu.org> | 6 | 2014-03-05 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * files.el (interpreter-mode-alist): | 8 | * files.el (interpreter-mode-alist): |
diff --git a/lisp/emacs-lisp/shadow.el b/lisp/emacs-lisp/shadow.el index aba929035d1..e8b4eb39576 100644 --- a/lisp/emacs-lisp/shadow.el +++ b/lisp/emacs-lisp/shadow.el | |||
| @@ -115,7 +115,9 @@ See the documentation for `list-load-path-shadows' for further information." | |||
| 115 | ;; FILE now contains the current file name, with no suffix. | 115 | ;; FILE now contains the current file name, with no suffix. |
| 116 | (unless (or (member file files-seen-this-dir) | 116 | (unless (or (member file files-seen-this-dir) |
| 117 | ;; Ignore these files. | 117 | ;; Ignore these files. |
| 118 | (member file '("subdirs" "leim-list"))) | 118 | (member file (list "subdirs" "leim-list" |
| 119 | (file-name-sans-extension | ||
| 120 | dir-locals-file)))) | ||
| 119 | ;; File has not been seen yet in this directory. | 121 | ;; File has not been seen yet in this directory. |
| 120 | ;; This test prevents us declaring that XXX.el shadows | 122 | ;; This test prevents us declaring that XXX.el shadows |
| 121 | ;; XXX.elc (or vice-versa) when they are in the same directory. | 123 | ;; XXX.elc (or vice-versa) when they are in the same directory. |