changeset 105513:1bfde4a3bd05

(read-file-local-variable): Include some non-user-variables in the completion table (bug#4664).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 07 Oct 2009 14:33:31 +0000
parents 7104b717bbb5
children 4c53b5211a28
files lisp/ChangeLog lisp/files-x.el
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Oct 07 14:32:08 2009 +0000
+++ b/lisp/ChangeLog	Wed Oct 07 14:33:31 2009 +0000
@@ -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
--- a/lisp/files-x.el	Wed Oct 07 14:32:08 2009 +0000
+++ b/lisp/files-x.el	Wed Oct 07 14:33:31 2009 +0000
@@ -49,6 +49,7 @@
 	   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))))