[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4664: 23.1.50; local variables completions

From: Stefan Monnier
Subject: bug#4664: 23.1.50; local variables completions
Date: Wed, 07 Oct 2009 10:34:03 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> For example, completions in add-file-local-variable do not include local
> variables such as auto-fill-function. Could this be improved?

Thanks, I installed the patch below which should help,


=== modified file 'lisp/files-x.el'
--- lisp/files-x.el     2009-10-04 07:44:39 +0000
+++ lisp/files-x.el     2009-10-07 14:30:53 +0000
@@ -49,6 +49,7 @@
           (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))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]