summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-04-29 13:32:10 +0200
committerStefan Kangas <stefan@marxist.se>2021-04-29 13:32:24 +0200
commit086e29d213ac89020d783af2618d4c53532f471e (patch)
treecc596c9a4e878764c99a075a58f52c6ad15842e2 /lisp/emacs-lisp
parent1054525ae3795b71fe09dafcbb86d3cdb1d7f875 (diff)
downloademacs-086e29d213ac89020d783af2618d4c53532f471e.tar.gz
emacs-086e29d213ac89020d783af2618d4c53532f471e.tar.bz2
emacs-086e29d213ac89020d783af2618d4c53532f471e.zip
* lisp/emacs-lisp/shortdoc.el: Doc fixes.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/shortdoc.el14
1 files changed, 9 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el
index 86d5130bbed..9b31d687035 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -1252,7 +1252,7 @@ Example:
(define-key map (kbd "C-c C-n") 'shortdoc-next-section)
(define-key map (kbd "C-c C-p") 'shortdoc-previous-section)
map)
- "Keymap for `shortdoc-mode'")
+ "Keymap for `shortdoc-mode'.")
(define-derived-mode shortdoc-mode special-mode "shortdoc"
"Mode for shortdoc.")
@@ -1269,23 +1269,27 @@ Example:
(setq ,arg (1- ,arg)))))
(defun shortdoc-next (&optional arg)
- "Move cursor to next function."
+ "Move cursor to the next function.
+With ARG, do it that many times."
(interactive "p")
(shortdoc--goto-section arg 'shortdoc-function))
(defun shortdoc-previous (&optional arg)
- "Move cursor to previous function."
+ "Move cursor to the previous function.
+With ARG, do it that many times."
(interactive "p")
(shortdoc--goto-section arg 'shortdoc-function t)
(backward-char 1))
(defun shortdoc-next-section (&optional arg)
- "Move cursor to next section."
+ "Move cursor to the next section.
+With ARG, do it that many times."
(interactive "p")
(shortdoc--goto-section arg 'shortdoc-section))
(defun shortdoc-previous-section (&optional arg)
- "Move cursor to previous section."
+ "Move cursor to the previous section.
+With ARG, do it that many times."
(interactive "p")
(shortdoc--goto-section arg 'shortdoc-section t)
(forward-line -2))