Mercurial > emacs
changeset 27970:9c3d68e8a089
define-key-after change
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 02 Mar 2000 22:05:43 +0000 |
parents | 1ea6c361ca9f |
children | b10a9716fb38 |
files | lispref/keymaps.texi |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/keymaps.texi Thu Mar 02 20:11:02 2000 +0000 +++ b/lispref/keymaps.texi Thu Mar 02 22:05:43 2000 +0000 @@ -2209,15 +2209,15 @@ 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