aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-03-04 22:27:03 +0000
committerRichard M. Stallman2002-03-04 22:27:03 +0000
commit3881a186743fdde1716d4633d6098b51caf2a02e (patch)
tree4ff917097b2c13d2ce0d689ce56bb0106a05c2f8
parent48178f9aaf034697cbb2122a9aa28263813f88a4 (diff)
downloademacs-3881a186743fdde1716d4633d6098b51caf2a02e.tar.gz
emacs-3881a186743fdde1716d4633d6098b51caf2a02e.zip
(define-minor-mode): Use "P" in interactive spec of minor mode commands.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/easy-mmode.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3d25be38469..59a852f2057 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-03-04 Richard M. Stallman <rms@gnu.org>
2
3 * emacs-lisp/easy-mmode.el (define-minor-mode):
4 Use "P" in interactive spec of minor mode commands.
5
12002-03-04 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 62002-03-04 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2 7
3 * net/snmp-mode.el: Require tempo when compiling to prevent 8 * net/snmp-mode.el: Require tempo when compiling to prevent
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index 0757115ee40..d916bc2f57c 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -177,7 +177,7 @@ With zero or negative ARG turn mode off.
177\\{%s}") pretty-name keymap-sym)) 177\\{%s}") pretty-name keymap-sym))
178 ;; Make no arg by default in an interactive call, 178 ;; Make no arg by default in an interactive call,
179 ;; so that repeating the command toggles again. 179 ;; so that repeating the command toggles again.
180 (interactive) 180 (interactive "P")
181 (setq ,mode 181 (setq ,mode
182 (if arg 182 (if arg
183 (> (prefix-numeric-value arg) 0) 183 (> (prefix-numeric-value arg) 0)