Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
32f44537
Commit
32f44537
authored
Mar 02, 2000
by
Dave Love
Browse files
define-key-after change
parent
42f55fe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lispref/keymaps.texi
lispref/keymaps.texi
+4
-4
No files found.
lispref/keymaps.texi
View file @
32f44537
...
...
@@ -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.
N
ew 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, n
ew 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment