diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-04-27 10:40:58 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-04-27 10:40:58 +0000 |
commit | 5f68f6e85a9c3b1dc57aae89d6b13f9668ec259f (patch) | |
tree | 7d1062c6b5c61a8469b6e2f24f3b640d8c38c25a /lisp/subr.el | |
parent | b35bd33d35439b9cca056406c2de619e58ee4802 (diff) | |
download | emacs-5f68f6e85a9c3b1dc57aae89d6b13f9668ec259f.tar.gz |
(add-minor-mode): Use `set' instead of `setq'.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r-- | lisp/subr.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index e8ba1afe5e5..ebaaaf4d1fd 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -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))) |