changeset 43709:1576fb3105fe

(define-minor-mode): Use "P" in interactive spec of minor mode commands.
author Richard M. Stallman <rms@gnu.org>
date Mon, 04 Mar 2002 22:26:57 +0000
parents 8d176857311d
children cb204bc37d54
files lisp/emacs-lisp/easy-mmode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/easy-mmode.el	Mon Mar 04 20:15:56 2002 +0000
+++ b/lisp/emacs-lisp/easy-mmode.el	Mon Mar 04 22:26:57 2002 +0000
@@ -177,7 +177,7 @@
 \\{%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)