Commit 04e0f59b authored by Juri Linkov's avatar Juri Linkov
Browse files

(read-file-local-variable-value): Don't filter out

minor modes from mode name completion (bug#4664).
parent c5959062
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> 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
* international/mule-cmds.el (ucs-names): Remove exclusion of * international/mule-cmds.el (ucs-names): Remove exclusion of
......
...@@ -69,8 +69,7 @@ Intended to be used in the `interactive' spec of ...@@ -69,8 +69,7 @@ Intended to be used in the `interactive' spec of
(format "Add %s with value: " variable)) (format "Add %s with value: " variable))
obarray obarray
(lambda (sym) (lambda (sym)
(and (string-match-p "-mode\\'" (symbol-name sym)) (string-match-p "-mode\\'" (symbol-name sym)))
(not (string-match-p "-minor-mode\\'" (symbol-name sym)))))
nil nil nil default nil)) nil nil nil default nil))
(and (stringp value) (and (stringp value)
(intern (replace-regexp-in-string "-mode\\'" "" value)))) (intern (replace-regexp-in-string "-mode\\'" "" value))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment