Commit 4d9b4323 authored by Juri Linkov's avatar Juri Linkov
Browse files

(read-file-local-variable-value):

Provide default value only for bound variables.
parent 585eedef
2009-10-11 Juri Linkov <juri@jurta.org>
* files-x.el (read-file-local-variable-value):
Provide default value only for bound variables (bug#4664).
2009-10-11 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-local-host-p): Function shall return nil for
......
......@@ -92,7 +92,8 @@ Intended to be used in the `interactive' spec of
nil 'set-variable-value-history
(format "%S"
(cond ((eq variable 'unibyte) t)
(t (symbol-value variable))))))))))
((boundp variable)
(symbol-value variable))))))))))
(defun read-file-local-variable-mode ()
"Read per-directory file-local variable's mode using completion.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment