From: Stefan Monnier Date: Wed, 7 Oct 2009 14:33:31 +0000 (+0000) Subject: (read-file-local-variable): Include some X-Git-Tag: emacs-pretest-23.1.90~884 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5c4634c1d1f0cb9580689649e0ac5fce67ba5935;p=emacs.git (read-file-local-variable): Include some non-user-variables in the completion table (bug#4664). --- 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 + + * files-x.el (read-file-local-variable): Include some + non-user-variables in the completion table (bug#4664). + 2009-10-07 Michael Albinus * 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))))