dir-locals-find-file properly (Bug#4005).
+2009-08-02 Chong Yidong <cyd@stupidchicken.com>
+
+ * help-fns.el (describe-variable): Treat list return values from
+ dir-locals-find-file properly (Bug#4005).
+
2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
* net/tramp.el (tramp-debug-message): Print also microseconds.
(not (file-remote-p (buffer-file-name)))
(dir-locals-find-file (buffer-file-name)))))
(princ " This variable is a directory local variable")
- (if file (princ (concat "\n from the file \"" file "\"")))
+ (when file
+ (princ (concat "\n from the file \""
+ (if (consp file)
+ (car file)
+ file)
+ "\"")))
(princ ".\n"))
(princ " This variable is a file local variable.\n")))