summaryrefslogtreecommitdiff
path: root/src/keymap.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-11-21 22:43:09 +0000
committerRichard M. Stallman <rms@gnu.org>1993-11-21 22:43:09 +0000
commit28f61b41f749e2f307d286f63ec78d3b3212b2f5 (patch)
tree83080fdbf0e6fbbcda8789611079fabe2bfb058a /src/keymap.c
parentdbaeab7b191015395e160fc7d1484abb9eee456e (diff)
downloademacs-28f61b41f749e2f307d286f63ec78d3b3212b2f5.tar.gz
Doc fix.
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 3e827e3e347..909645f7e0c 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -507,6 +507,8 @@ DEFUN ("define-key", Fdefine_key, Sdefine_key, 3, 3, 0,
"Args KEYMAP, KEY, DEF. Define key sequence KEY, in KEYMAP, as DEF.\n\
KEYMAP is a keymap. KEY is a string or a vector of symbols and characters\n\
meaning a sequence of keystrokes and events.\n\
+Non-ASCII characters with codes above 127 (such as ISO Latin-1)\n\
+can be included if you use a vector.\n\
DEF is anything that can be a key's definition:\n\
nil (means key is undefined in this keymap),\n\
a command (a Lisp function suitable for interactive calling)\n\
@@ -913,6 +915,8 @@ DEFUN ("global-set-key", Fglobal_set_key, Sglobal_set_key, 2, 2,
"Give KEY a global binding as COMMAND.\n\
COMMAND is a symbol naming an interactively-callable function.\n\
KEY is a key sequence (a string or vector of characters or event types).\n\
+Non-ASCII characters with codes above 127 (such as ISO Latin-1)\n\
+can be included if you use a vector.\n\
Note that if KEY has a local binding in the current buffer\n\
that local binding will continue to shadow any global binding.")
(keys, function)
@@ -931,6 +935,8 @@ DEFUN ("local-set-key", Flocal_set_key, Slocal_set_key, 2, 2,
"Give KEY a local binding as COMMAND.\n\
COMMAND is a symbol naming an interactively-callable function.\n\
KEY is a key sequence (a string or vector of characters or event types).\n\
+Non-ASCII characters with codes above 127 (such as ISO Latin-1)\n\
+can be included if you use a vector.\n\
The binding goes in the current buffer's local map,\n\
which is shared with other buffers in the same major mode.")
(keys, function)