Mercurial > emacs
diff lisp/emacs-lisp/easy-mmode.el @ 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 | a31cdf6c9173 |
children | 7be80f782e2c |
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)