summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/files-x.el1
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 60181af667d..939d34646ab 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * files-x.el (read-file-local-variable): Include some
+ non-user-variables in the completion table (bug#4664).
+
2009-10-07 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-cache.el (tramp-flush-connection-property): Add trace
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))))