[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99866: * keymap.c (Fdefine_key):
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99866: * keymap.c (Fdefine_key): Doc fix (Bug#6460). |
Date: |
Sat, 19 Jun 2010 14:02:41 -0400 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99866
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Sat 2010-06-19 14:02:41 -0400
message:
* keymap.c (Fdefine_key): Doc fix (Bug#6460).
modified:
src/ChangeLog
src/keymap.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-06-15 06:16:19 +0000
+++ b/src/ChangeLog 2010-06-19 18:02:41 +0000
@@ -1,3 +1,7 @@
+2010-06-19 Chong Yidong <address@hidden>
+
+ * keymap.c (Fdefine_key): Doc fix (Bug#6460).
+
2010-06-15 Glenn Morris <address@hidden>
* editfns.c (Fbyte_to_string): Pacify compiler.
=== modified file 'src/keymap.c'
--- a/src/keymap.c 2010-05-31 19:35:04 +0000
+++ b/src/keymap.c 2010-06-19 18:02:41 +0000
@@ -1175,11 +1175,13 @@
doc: /* In KEYMAP, define key sequence KEY as DEF.
KEYMAP is a keymap.
-KEY is a string or a vector of symbols and characters meaning a
+KEY is a string or a vector of symbols and characters, representing a
sequence of keystrokes and events. Non-ASCII characters with codes
-above 127 (such as ISO Latin-1) can be included if you use a vector.
-Using [t] for KEY creates a default definition, which applies to any
-event type that has no other definition in this keymap.
+above 127 (such as ISO Latin-1) can be represented by vectors.
+Two types of vector have special meanings:
+ [remap COMMAND] remaps any key binding for COMMAND in KEYMAP.
+ [t] creates a default definition, which applies to any event with no
+ other definition in KEYMAP.
DEF is anything that can be a key's definition:
nil (means key is undefined in this keymap),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99866: * keymap.c (Fdefine_key): Doc fix (Bug#6460).,
Chong Yidong <=