diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 65f06b645a0..0ddb0a35a0f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/files-x.el b/lisp/files-x.el index 8261df18b51..19d77e9823d 100644 --- a/lisp/files-x.el +++ b/lisp/files-x.el @@ -69,8 +69,7 @@ Intended to be used in the `interactive' spec of (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))))