emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master eaec6cc3d7c: ; Minor fixes of doc strings referencing keymaps.


From: Eli Zaretskii
Subject: master eaec6cc3d7c: ; Minor fixes of doc strings referencing keymaps.
Date: Sat, 6 Apr 2024 06:44:26 -0400 (EDT)

branch: master
commit eaec6cc3d7cc247377524225f2a51407a4cb20c7
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; 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 ()
-  "\\<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.
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)
-  "\\<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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]