changeset 105588:2586fdd484bd

(read-file-local-variable-value): Don't filter out minor modes from mode name completion (bug#4664).
author Juri Linkov <juri@jurta.org>
date Tue, 13 Oct 2009 22:35:44 +0000
parents 34089cc32a53
children e84a6a47bcb9
files lisp/ChangeLog lisp/files-x.el
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Oct 13 19:50:43 2009 +0000
+++ b/lisp/ChangeLog	Tue Oct 13 22:35:44 2009 +0000
@@ -1,3 +1,8 @@
+2009-10-13  Juri Linkov  <juri@jurta.org>
+
+	* files-x.el (read-file-local-variable-value): Don't filter out
+	minor modes from mode name completion (bug#4664).
+
 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
 
 	* international/mule-cmds.el (ucs-names): Remove exclusion of
--- a/lisp/files-x.el	Tue Oct 13 19:50:43 2009 +0000
+++ b/lisp/files-x.el	Tue Oct 13 22:35:44 2009 +0000
@@ -69,8 +69,7 @@
 	       (format "Add %s with value: " variable))
 	     obarray
 	     (lambda (sym)
-	       (and (string-match-p "-mode\\'" (symbol-name sym))
-		    (not (string-match-p "-minor-mode\\'" (symbol-name sym)))))
+	       (string-match-p "-mode\\'" (symbol-name sym)))
 	     nil nil nil default nil))
       (and (stringp value)
 	   (intern (replace-regexp-in-string "-mode\\'" "" value))))