mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-30 08:09:04 +00:00
(add-minor-mode): Use set' instead of
setq'.
This commit is contained in:
parent
b35bd33d35
commit
5f68f6e85a
@ -1493,7 +1493,7 @@ or off to say whether the minor mode is active or not. NAME is the
|
||||
string that will appear in the mode line when the minor mode is
|
||||
active. Optional MAP is the keymap for the minor mode."
|
||||
(make-local-variable symbol)
|
||||
(setq symbol t)
|
||||
(set symbol t)
|
||||
(unless (assq symbol minor-mode-alist)
|
||||
(add-to-list 'minor-mode-alist (list symbol name)))
|
||||
(when (and map (not (assq symbol minor-mode-map-alist)))
|
||||
|
Loading…
Reference in New Issue
Block a user