# HG changeset patch # User Juri Linkov # Date 1255473344 0 # Node ID 2586fdd484bd7b711f008a92a8b85c94de3e20d4 # Parent 34089cc32a53f330cb907d58c4d0d510ed04d491 (read-file-local-variable-value): Don't filter out minor modes from mode name completion (bug#4664). diff -r 34089cc32a53 -r 2586fdd484bd lisp/ChangeLog --- 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 + + * 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 * international/mule-cmds.el (ucs-names): Remove exclusion of diff -r 34089cc32a53 -r 2586fdd484bd lisp/files-x.el --- 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))))