aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorJoakim Verona2012-03-13 08:23:14 +0100
committerJoakim Verona2012-03-13 08:23:14 +0100
commit4b2cea2874f3a699ebe96349ef34fb7206cc0fa5 (patch)
treebbd39cf660d9b79b2cff9e39ef6209af4cf9fb8b /src/keymap.c
parent1de331c486475093aa6b75ef6c259f7164e7620c (diff)
parent6ea7151ba66df966974060711512b49b9059566e (diff)
downloademacs-4b2cea2874f3a699ebe96349ef34fb7206cc0fa5.tar.gz
emacs-4b2cea2874f3a699ebe96349ef34fb7206cc0fa5.zip
upstream
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 0ae055213c3..ecaeb32896e 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -2043,8 +2043,9 @@ static Lisp_Object Qsingle_key_description, Qkey_description;
2043DEFUN ("key-description", Fkey_description, Skey_description, 1, 2, 0, 2043DEFUN ("key-description", Fkey_description, Skey_description, 1, 2, 0,
2044 doc: /* Return a pretty description of key-sequence KEYS. 2044 doc: /* Return a pretty description of key-sequence KEYS.
2045Optional arg PREFIX is the sequence of keys leading up to KEYS. 2045Optional arg PREFIX is the sequence of keys leading up to KEYS.
2046Control characters turn into "C-foo" sequences, meta into "M-foo", 2046For example, [?\C-x ?l] is converted into the string \"C-x l\".
2047spaces are put between sequence elements, etc. */) 2047
2048The `kbd' macro is an approximate inverse of this. */)
2048 (Lisp_Object keys, Lisp_Object prefix) 2049 (Lisp_Object keys, Lisp_Object prefix)
2049{ 2050{
2050 int len = 0; 2051 int len = 0;