[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 3bbec2e 1/3: Fix up example in the Modifying Menus node in the li
From: |
Lars Ingebrigtsen |
Subject: |
master 3bbec2e 1/3: Fix up example in the Modifying Menus node in the lispref manual |
Date: |
Tue, 19 Jan 2021 23:09:06 -0500 (EST) |
branch: master
commit 3bbec2eb2b2a48a0eaac8e83c27313bfbe9d420e
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix up example in the Modifying Menus node in the lispref manual
* doc/lispref/keymaps.texi (Modifying Menus): Make the second
example more regular (bug#14257).
---
doc/lispref/keymaps.texi | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index 37bab7e..55d179b 100644
--- a/doc/lispref/keymaps.texi
+++ b/doc/lispref/keymaps.texi
@@ -2852,9 +2852,8 @@ Here is how to insert an item called @samp{Work} in the
@samp{Signals}
menu of Shell mode, after the item @code{break}:
@example
-(define-key-after
- (lookup-key shell-mode-map [menu-bar signals])
- [work] '("Work" . work-command) 'break)
+(define-key-after shell-mode-map [menu-bar signals work]
+ '("Work" . work-command) 'break)
@end example
@end defun