aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorIngo Lohmar2014-02-07 21:18:31 -0500
committerGlenn Morris2014-02-07 21:18:31 -0500
commit7e088b295918674ab935cf416c5cf987da8d4a24 (patch)
tree7423554482054371b9152ca4bb308a1825d1a942 /lisp
parent36f1351eb90c3af31245fea0f46cb09ca3b08427 (diff)
downloademacs-7e088b295918674ab935cf416c5cf987da8d4a24.tar.gz
emacs-7e088b295918674ab935cf416c5cf987da8d4a24.zip
* help-fns.el (describe-variable): Fix case where value is directory-local
with no dir-locals file. Fixes: debbugs:16635
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/help-fns.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 78c6224f7e4..0369e5ed075 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2
3 * help-fns.el (describe-variable): Fix the case where
4 a value is directory-local with no dir-locals file. (Bug#16635)
5
12014-02-08 Glenn Morris <rgm@gnu.org> 62014-02-08 Glenn Morris <rgm@gnu.org>
2 7
3 * abbrev.el (edit-abbrevs-mode): 8 * abbrev.el (edit-abbrevs-mode):
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 5e38de88f72..028f6ac0c30 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -930,7 +930,8 @@ if it is given a local binding.\n")))
930 (setq file (expand-file-name 930 (setq file (expand-file-name
931 dir-locals-file (car file))) 931 dir-locals-file (car file)))
932 ;; Otherwise, assume it was set directly. 932 ;; Otherwise, assume it was set directly.
933 (setq dir-file nil))) 933 (setq file (car file)
934 dir-file nil)))
934 (princ (if dir-file 935 (princ (if dir-file
935 "by the file\n `" 936 "by the file\n `"
936 "for the directory\n `")) 937 "for the directory\n `"))