]> git.eshelyaron.com Git - emacs.git/commitdiff
(define-minor-mode): Use "P" in interactive spec of minor mode commands.
authorRichard M. Stallman <rms@gnu.org>
Mon, 4 Mar 2002 22:27:03 +0000 (22:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 4 Mar 2002 22:27:03 +0000 (22:27 +0000)
lisp/ChangeLog
lisp/emacs-lisp/easy-mmode.el

index 3d25be384691d770a05e66a7df8a9b5327aa5cdd..59a852f20575af0eda21d583ed904daa7e80fcd7 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-04  Richard M. Stallman  <rms@gnu.org>
+
+       * emacs-lisp/easy-mmode.el (define-minor-mode): 
+       Use "P" in interactive spec of minor mode commands.
+
 2002-03-04  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
 
        * net/snmp-mode.el: Require tempo when compiling to prevent
index 0757115ee40fcf4bc60264eeb59c862844a9f853..d916bc2f57ccf75c378fe7f5b27b5522fded8c3d 100644 (file)
@@ -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)