diff options
Diffstat (limited to 'lisp/files-x.el')
| -rw-r--r-- | lisp/files-x.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/files-x.el b/lisp/files-x.el index 3ad3f90e407..8261df18b51 100644 --- a/lisp/files-x.el +++ b/lisp/files-x.el @@ -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. |
