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.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index d74c3ddb97b..035c65b1c0a 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -632,7 +632,8 @@ BODY is executed after moving to the destination location."
(unless name (setq name base-name))
`(progn
(defun ,next-sym (&optional count)
- ,(format "Go to the next COUNT'th %s." name)
+ ,(format "Go to the next COUNT'th %s.
+Interactively, COUNT is the prefix numeric argument, and defaults to 1." name)
(interactive "p")
(unless count (setq count 1))
(if (< count 0) (,prev-sym (- count))
@@ -654,7 +655,9 @@ BODY is executed after moving to the destination location."
,@body))
(put ',next-sym 'definition-name ',base)
(defun ,prev-sym (&optional count)
- ,(format "Go to the previous COUNT'th %s" (or name base-name))
+ ,(format "Go to the previous COUNT'th %s.
+Interactively, COUNT is the prefix numeric argument, and defaults to 1."
+ (or name base-name))
(interactive "p")
(unless count (setq count 1))
(if (< count 0) (,next-sym (- count))