define-key-after change
This commit is contained in:
parent
42f55fe095
commit
32f4453797
1 changed files with 4 additions and 4 deletions
|
@ -2209,15 +2209,15 @@ the binding for the event @var{after}. The argument @var{key} should be
|
|||
of length one---a vector or string with just one element. But
|
||||
@var{after} should be a single event type---a symbol or a character, not
|
||||
a sequence. The new binding goes after the binding for @var{after}. If
|
||||
@var{after} is @code{t} or omitted, then the new binding goes last, at
|
||||
the end of the keymap. New bindings are added before any inherited
|
||||
keymap.
|
||||
@var{after} is @code{t} or is omitted, then the new binding goes last, at
|
||||
the end of the keymap. However, new bindings are added before any
|
||||
inherited keymap.
|
||||
|
||||
Here is an example:
|
||||
|
||||
@example
|
||||
(define-key-after my-menu [drink]
|
||||
'("Drink" . drink-command) 'eat)
|
||||
'("Drink" . drink-command) 'eat)
|
||||
@end example
|
||||
|
||||
@noindent
|
||||
|
|
Loading…
Add table
Reference in a new issue