Mercurial > emacs
changeset 28730:f97e04a68f9f
(add-minor-mode): Use `set' instead of `setq'.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 27 Apr 2000 10:40:58 +0000 |
parents | 466ad2113a59 |
children | 2e0946b26643 |
files | lisp/subr.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/subr.el Wed Apr 26 18:50:09 2000 +0000 +++ b/lisp/subr.el Thu Apr 27 10:40:58 2000 +0000 @@ -1493,7 +1493,7 @@ 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)))