1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-16 17:19:41 +00:00

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

minor modes from mode name completion (bug#4664).
This commit is contained in:
Juri Linkov 2009-10-13 22:35:44 +00:00
parent c5959062a2
commit 04e0f59b54
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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))))