From: Eli Zaretskii Date: Sat, 6 Apr 2024 10:43:50 +0000 (+0300) Subject: ; Minor fixes of doc strings referencing keymaps. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9d11c3af569aa00a486399bc43453e8bc470bd20;p=emacs.git ; Minor fixes of doc strings referencing keymaps. * 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) --- diff --git a/lisp/edmacro.el b/lisp/edmacro.el index abfc380d154..b7435edaa31 100644 --- a/lisp/edmacro.el +++ b/lisp/edmacro.el @@ -460,8 +460,8 @@ of a line, that final line is excluded." (goto-char final-position))) (defun edmacro-mode () - "\\Keyboard Macro Editing mode. Press \ -\\[edmacro-finish-edit] to save and exit. + "Keyboard Macro Editing mode. +\\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. diff --git a/lisp/info.el b/lisp/info.el index 1e478cdbee9..901f0384c62 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -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) - "\\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. +\\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)