Mercurial > emacs
comparison src/keymap.c @ 5100:33de23a28204
Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 21 Nov 1993 22:43:09 +0000 |
parents | bbe5bba17b10 |
children | bec1126c6c00 |
comparison
equal
deleted
inserted
replaced
5099:019961514fbd | 5100:33de23a28204 |
---|---|
505 | 505 |
506 DEFUN ("define-key", Fdefine_key, Sdefine_key, 3, 3, 0, | 506 DEFUN ("define-key", Fdefine_key, Sdefine_key, 3, 3, 0, |
507 "Args KEYMAP, KEY, DEF. Define key sequence KEY, in KEYMAP, as DEF.\n\ | 507 "Args KEYMAP, KEY, DEF. Define key sequence KEY, in KEYMAP, as DEF.\n\ |
508 KEYMAP is a keymap. KEY is a string or a vector of symbols and characters\n\ | 508 KEYMAP is a keymap. KEY is a string or a vector of symbols and characters\n\ |
509 meaning a sequence of keystrokes and events.\n\ | 509 meaning a sequence of keystrokes and events.\n\ |
510 Non-ASCII characters with codes above 127 (such as ISO Latin-1)\n\ | |
511 can be included if you use a vector.\n\ | |
510 DEF is anything that can be a key's definition:\n\ | 512 DEF is anything that can be a key's definition:\n\ |
511 nil (means key is undefined in this keymap),\n\ | 513 nil (means key is undefined in this keymap),\n\ |
512 a command (a Lisp function suitable for interactive calling)\n\ | 514 a command (a Lisp function suitable for interactive calling)\n\ |
513 a string (treated as a keyboard macro),\n\ | 515 a string (treated as a keyboard macro),\n\ |
514 a keymap (to define a prefix key),\n\ | 516 a keymap (to define a prefix key),\n\ |
911 DEFUN ("global-set-key", Fglobal_set_key, Sglobal_set_key, 2, 2, | 913 DEFUN ("global-set-key", Fglobal_set_key, Sglobal_set_key, 2, 2, |
912 "kSet key globally: \nCSet key %s to command: ", | 914 "kSet key globally: \nCSet key %s to command: ", |
913 "Give KEY a global binding as COMMAND.\n\ | 915 "Give KEY a global binding as COMMAND.\n\ |
914 COMMAND is a symbol naming an interactively-callable function.\n\ | 916 COMMAND is a symbol naming an interactively-callable function.\n\ |
915 KEY is a key sequence (a string or vector of characters or event types).\n\ | 917 KEY is a key sequence (a string or vector of characters or event types).\n\ |
918 Non-ASCII characters with codes above 127 (such as ISO Latin-1)\n\ | |
919 can be included if you use a vector.\n\ | |
916 Note that if KEY has a local binding in the current buffer\n\ | 920 Note that if KEY has a local binding in the current buffer\n\ |
917 that local binding will continue to shadow any global binding.") | 921 that local binding will continue to shadow any global binding.") |
918 (keys, function) | 922 (keys, function) |
919 Lisp_Object keys, function; | 923 Lisp_Object keys, function; |
920 { | 924 { |
929 DEFUN ("local-set-key", Flocal_set_key, Slocal_set_key, 2, 2, | 933 DEFUN ("local-set-key", Flocal_set_key, Slocal_set_key, 2, 2, |
930 "kSet key locally: \nCSet key %s locally to command: ", | 934 "kSet key locally: \nCSet key %s locally to command: ", |
931 "Give KEY a local binding as COMMAND.\n\ | 935 "Give KEY a local binding as COMMAND.\n\ |
932 COMMAND is a symbol naming an interactively-callable function.\n\ | 936 COMMAND is a symbol naming an interactively-callable function.\n\ |
933 KEY is a key sequence (a string or vector of characters or event types).\n\ | 937 KEY is a key sequence (a string or vector of characters or event types).\n\ |
938 Non-ASCII characters with codes above 127 (such as ISO Latin-1)\n\ | |
939 can be included if you use a vector.\n\ | |
934 The binding goes in the current buffer's local map,\n\ | 940 The binding goes in the current buffer's local map,\n\ |
935 which is shared with other buffers in the same major mode.") | 941 which is shared with other buffers in the same major mode.") |
936 (keys, function) | 942 (keys, function) |
937 Lisp_Object keys, function; | 943 Lisp_Object keys, function; |
938 { | 944 { |