From eaec6cc3d7cc247377524225f2a51407a4cb20c7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 6 Apr 2024 13:43:50 +0300 Subject: [PATCH] ; 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) --- lisp/edmacro.el | 4 ++-- lisp/info.el | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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)