summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easy-mmode.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-03-04 22:27:03 +0000
committerRichard M. Stallman <rms@gnu.org>2002-03-04 22:27:03 +0000
commit3881a186743fdde1716d4633d6098b51caf2a02e (patch)
tree4ff917097b2c13d2ce0d689ce56bb0106a05c2f8 /lisp/emacs-lisp/easy-mmode.el
parent48178f9aaf034697cbb2122a9aa28263813f88a4 (diff)
downloademacs-3881a186743fdde1716d4633d6098b51caf2a02e.tar.gz
emacs-3881a186743fdde1716d4633d6098b51caf2a02e.tar.bz2
emacs-3881a186743fdde1716d4633d6098b51caf2a02e.zip
(define-minor-mode): Use "P" in interactive spec of minor mode commands.
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
-rw-r--r--lisp/emacs-lisp/easy-mmode.el2
1 files changed, 1 insertions, 1 deletions
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.
\\{%s}") pretty-name keymap-sym))
;; Make no arg by default in an interactive call,
;; so that repeating the command toggles again.
- (interactive)
+ (interactive "P")
(setq ,mode
(if arg
(> (prefix-numeric-value arg) 0)