diff options
| author | Chong Yidong | 2009-08-02 23:09:00 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-08-02 23:09:00 +0000 |
| commit | b6ce92f1c49b105bd7d13acd817a793a807d1e21 (patch) | |
| tree | 807a09fe08d534071c7296f3f470407b44143885 | |
| parent | 40d2791f9b21c3a9a1ed865c148e5042df57a084 (diff) | |
| download | emacs-b6ce92f1c49b105bd7d13acd817a793a807d1e21.tar.gz emacs-b6ce92f1c49b105bd7d13acd817a793a807d1e21.zip | |
* help-fns.el (describe-variable): Treat list return values from
dir-locals-find-file properly (Bug#4005).
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/help-fns.el | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5e7debbd7ad..2f3ea144e7d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-08-02 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * help-fns.el (describe-variable): Treat list return values from | ||
| 4 | dir-locals-find-file properly (Bug#4005). | ||
| 5 | |||
| 1 | 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change) | 6 | 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change) |
| 2 | 7 | ||
| 3 | * net/tramp.el (tramp-debug-message): Print also microseconds. | 8 | * net/tramp.el (tramp-debug-message): Print also microseconds. |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 9546396fd87..7747c505ec9 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -719,7 +719,12 @@ it is displayed along with the global value." | |||
| 719 | (not (file-remote-p (buffer-file-name))) | 719 | (not (file-remote-p (buffer-file-name))) |
| 720 | (dir-locals-find-file (buffer-file-name))))) | 720 | (dir-locals-find-file (buffer-file-name))))) |
| 721 | (princ " This variable is a directory local variable") | 721 | (princ " This variable is a directory local variable") |
| 722 | (if file (princ (concat "\n from the file \"" file "\""))) | 722 | (when file |
| 723 | (princ (concat "\n from the file \"" | ||
| 724 | (if (consp file) | ||
| 725 | (car file) | ||
| 726 | file) | ||
| 727 | "\""))) | ||
| 723 | (princ ".\n")) | 728 | (princ ".\n")) |
| 724 | (princ " This variable is a file local variable.\n"))) | 729 | (princ " This variable is a file local variable.\n"))) |
| 725 | 730 | ||