diff options
| author | Dave Love | 2000-03-02 22:05:43 +0000 |
|---|---|---|
| committer | Dave Love | 2000-03-02 22:05:43 +0000 |
| commit | 32f4453797d2f9253d7b32c5ddecabe9b2878041 (patch) | |
| tree | 2d5b18ac9c74b865d2d88ac9eda00908058e1583 | |
| parent | 42f55fe095ccb4c7a14ab22f21b76e44c984c791 (diff) | |
| download | emacs-32f4453797d2f9253d7b32c5ddecabe9b2878041.tar.gz emacs-32f4453797d2f9253d7b32c5ddecabe9b2878041.zip | |
define-key-after change
| -rw-r--r-- | lispref/keymaps.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi index 3dfc2576cac..23f31a7c4bf 100644 --- a/lispref/keymaps.texi +++ b/lispref/keymaps.texi | |||
| @@ -2209,15 +2209,15 @@ the binding for the event @var{after}. The argument @var{key} should be | |||
| 2209 | of length one---a vector or string with just one element. But | 2209 | of length one---a vector or string with just one element. But |
| 2210 | @var{after} should be a single event type---a symbol or a character, not | 2210 | @var{after} should be a single event type---a symbol or a character, not |
| 2211 | a sequence. The new binding goes after the binding for @var{after}. If | 2211 | a sequence. The new binding goes after the binding for @var{after}. If |
| 2212 | @var{after} is @code{t} or omitted, then the new binding goes last, at | 2212 | @var{after} is @code{t} or is omitted, then the new binding goes last, at |
| 2213 | the end of the keymap. New bindings are added before any inherited | 2213 | the end of the keymap. However, new bindings are added before any |
| 2214 | keymap. | 2214 | inherited keymap. |
| 2215 | 2215 | ||
| 2216 | Here is an example: | 2216 | Here is an example: |
| 2217 | 2217 | ||
| 2218 | @example | 2218 | @example |
| 2219 | (define-key-after my-menu [drink] | 2219 | (define-key-after my-menu [drink] |
| 2220 | '("Drink" . drink-command) 'eat) | 2220 | '("Drink" . drink-command) 'eat) |
| 2221 | @end example | 2221 | @end example |
| 2222 | 2222 | ||
| 2223 | @noindent | 2223 | @noindent |