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).
This commit is contained in:
parent
f925aabcce
commit
3bbec2eb2b
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue