diff options
| author | Richard M. Stallman | 2002-03-04 22:27:03 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-03-04 22:27:03 +0000 |
| commit | 3881a186743fdde1716d4633d6098b51caf2a02e (patch) | |
| tree | 4ff917097b2c13d2ce0d689ce56bb0106a05c2f8 | |
| parent | 48178f9aaf034697cbb2122a9aa28263813f88a4 (diff) | |
| download | emacs-3881a186743fdde1716d4633d6098b51caf2a02e.tar.gz emacs-3881a186743fdde1716d4633d6098b51caf2a02e.zip | |
(define-minor-mode): Use "P" in interactive spec of minor mode commands.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 2 |
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 @@ | |||
| 1 | 2002-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 | |||
| 1 | 2002-03-04 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 6 | 2002-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) |