]> git.eshelyaron.com Git - emacs.git/commitdiff
(read-file-local-variable): Include some
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 7 Oct 2009 14:33:31 +0000 (14:33 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 7 Oct 2009 14:33:31 +0000 (14:33 +0000)
non-user-variables in the completion table (bug#4664).

lisp/ChangeLog
lisp/files-x.el

index 60181af667de27cb5d9155aa5190f0ed5e234601..939d34646ab3437fe6c618b6977eb43200fd981b 100644 (file)
@@ -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
index f7be79eccfcdf10a6d351f4ab8ea447cf355d0b6..3ad3f90e40748c1e6c1c6d38a4d60c90aecee846 100644 (file)
@@ -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))))