aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-01-20 04:17:41 +0100
committerLars Ingebrigtsen2021-01-20 04:17:41 +0100
commit3bbec2eb2b2a48a0eaac8e83c27313bfbe9d420e (patch)
treeac8a0c39b020e80059cc585169c159c0137be5c9
parentf925aabcceb353f04e4d2507b6d05eb74822f83b (diff)
downloademacs-3bbec2eb2b2a48a0eaac8e83c27313bfbe9d420e.tar.gz
emacs-3bbec2eb2b2a48a0eaac8e83c27313bfbe9d420e.zip
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).
-rw-r--r--doc/lispref/keymaps.texi5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index 37bab7ea9bc..55d179b8753 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}
2852menu of Shell mode, after the item @code{break}: 2852menu of Shell mode, after the item @code{break}:
2853 2853
2854@example 2854@example
2855(define-key-after 2855(define-key-after shell-mode-map [menu-bar signals work]
2856 (lookup-key shell-mode-map [menu-bar signals]) 2856 '("Work" . work-command) 'break)
2857 [work] '("Work" . work-command) 'break)
2858@end example 2857@end example
2859@end defun 2858@end defun
2860 2859