summaryrefslogtreecommitdiff
path: root/lisp/files-x.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2009-10-07 14:33:31 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2009-10-07 14:33:31 +0000
commit5c4634c1d1f0cb9580689649e0ac5fce67ba5935 (patch)
treeb7f91d53863d7b72d53083c0d9f49f308de6317d /lisp/files-x.el
parent7f8b600a8327273fe8d9e2f8e31e718b739e58bc (diff)
downloademacs-5c4634c1d1f0cb9580689649e0ac5fce67ba5935.tar.gz
(read-file-local-variable): Include some
non-user-variables in the completion table (bug#4664).
Diffstat (limited to 'lisp/files-x.el')
-rw-r--r--lisp/files-x.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/files-x.el b/lisp/files-x.el
index f7be79eccfc..3ad3f90e407 100644
--- a/lisp/files-x.el
+++ b/lisp/files-x.el
@@ -49,6 +49,7 @@ Intended to be used in the `interactive' spec of
obarray
(lambda (sym)
(or (user-variable-p sym)
+ (get sym 'safe-local-variable)
(memq sym '(mode eval coding unibyte))))
nil nil nil default nil))
(and (stringp variable) (intern variable))))