summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp')
-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)