summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-04-27 10:40:58 +0000
committerGerd Moellmann <gerd@gnu.org>2000-04-27 10:40:58 +0000
commit5f68f6e85a9c3b1dc57aae89d6b13f9668ec259f (patch)
tree7d1062c6b5c61a8469b6e2f24f3b640d8c38c25a
parentb35bd33d35439b9cca056406c2de619e58ee4802 (diff)
downloademacs-5f68f6e85a9c3b1dc57aae89d6b13f9668ec259f.tar.gz
(add-minor-mode): Use `set' instead of `setq'.
-rw-r--r--lisp/subr.el2
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)))