]> git.eshelyaron.com Git - emacs.git/commitdiff
; Minor fixes of doc strings referencing keymaps.
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Apr 2024 10:43:50 +0000 (13:43 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 7 Apr 2024 16:34:17 +0000 (18:34 +0200)
* lisp/edmacro.el (edmacro-mode):
* lisp/info.el (Info-mouse-follow-nearest-node): Move the
reference to mode keymap from the first line.  (Bug#70163)

(cherry picked from commit eaec6cc3d7cc247377524225f2a51407a4cb20c7)

lisp/edmacro.el
lisp/info.el

index abfc380d15410d71904f6bf466c2d116aee71edd..b7435edaa31985089ac988bfec7086cb2d2112bd 100644 (file)
@@ -460,8 +460,8 @@ of a line, that final line is excluded."
     (goto-char final-position)))
 
 (defun edmacro-mode ()
-  "\\<edmacro-mode-map>Keyboard Macro Editing mode.  Press \
-\\[edmacro-finish-edit] to save and exit.
+  "Keyboard Macro Editing mode.
+\\<edmacro-mode-map>Press \\[edmacro-finish-edit] to save and exit.
 To abort the edit, just kill this buffer with \\[kill-buffer] \\`RET'.
 
 Press \\[edmacro-insert-key] to insert the name of any key by typing the key.
index 1e478cdbee9821fdec03b7bd0bd4ce0e32d09825..901f0384c628791a73b4fe98b979996a1114ff34 100644 (file)
@@ -4063,8 +4063,8 @@ ERRORSTRING optional fourth argument, controls action on no match:
                 (error "No %s around position %d" errorstring pos))))))))
 
 (defun Info-mouse-follow-nearest-node (click)
-  "\\<Info-mode-map>Follow a node reference near point.
-Like \\[Info-menu], \\[Info-follow-reference], \\[Info-next], \\[Info-prev] or \\[Info-up] command, depending on where you click.
+  "Follow a node reference near point.
+\\<Info-mode-map>Like \\[Info-menu], \\[Info-follow-reference], \\[Info-next], \\[Info-prev] or \\[Info-up] command, depending on where you click.
 At end of the node's text, moves to the next node, or up if none."
   (interactive "e" Info-mode)
   (mouse-set-point click)