define-key-after change

This commit is contained in:
Dave Love 2000-03-02 22:05:43 +00:00
parent 42f55fe095
commit 32f4453797

View file

@ -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