From: Gerd Moellmann Date: Thu, 27 Apr 2000 10:40:58 +0000 (+0000) Subject: (add-minor-mode): Use `set' instead of `setq'. X-Git-Tag: emacs-pretest-21.0.90~4124 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f68f6e85a9c3b1dc57aae89d6b13f9668ec259f;p=emacs.git (add-minor-mode): Use `set' instead of `setq'. --- 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)))