Commit 32f44537 authored by Dave Love's avatar Dave Love
Browse files

define-key-after change

parent 42f55fe0
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment