From 5c4634c1d1f0cb9580689649e0ac5fce67ba5935 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 7 Oct 2009 14:33:31 +0000 Subject: [PATCH] (read-file-local-variable): Include some non-user-variables in the completion table (bug#4664). --- lisp/ChangeLog | 5 +++++ lisp/files-x.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 60181af667..939d34646a 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 f7be79eccf..3ad3f90e40 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)))) -- 2.20.1