Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
04e0f59b
Commit
04e0f59b
authored
Oct 13, 2009
by
Juri Linkov
Browse files
(read-file-local-variable-value): Don't filter out
minor modes from mode name completion (bug#4664).
parent
c5959062
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/files-x.el
lisp/files-x.el
+1
-2
No files found.
lisp/ChangeLog
View file @
04e0f59b
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
...
...
lisp/files-x.el
View file @
04e0f59b
...
...
@@ -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
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment