comparison src/keymap.c @ 3096:5694c986bd92

[xemacs-hg @ 2005-11-26 13:20:21 by stephent] Improve where-is internal docstring. <87y83b35z7.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Sat, 26 Nov 2005 13:20:23 +0000
parents c6ef6267f65c
children be1bb4dc32b1
comparison
equal deleted inserted replaced
3095:6693845ec32a 3096:5694c986bd92
3472 3472
3473 DEFUN ("where-is-internal", Fwhere_is_internal, 1, 5, 0, /* 3473 DEFUN ("where-is-internal", Fwhere_is_internal, 1, 5, 0, /*
3474 Return list of keys that invoke DEFINITION in KEYMAPS. 3474 Return list of keys that invoke DEFINITION in KEYMAPS.
3475 KEYMAPS can be either a keymap (meaning search in that keymap and the 3475 KEYMAPS can be either a keymap (meaning search in that keymap and the
3476 current global keymap) or a list of keymaps (meaning search in exactly 3476 current global keymap) or a list of keymaps (meaning search in exactly
3477 those keymaps and no others). If KEYMAPS is nil, search in the currently 3477 those keymaps and no others).
3478 applicable maps for EVENT-OR-KEYS (this is equivalent to specifying
3479 `(current-keymaps EVENT-OR-KEYS)' as the argument to KEYMAPS).
3480 3478
3481 If optional 3rd arg FIRSTONLY is non-nil, return a vector representing 3479 If optional 3rd arg FIRSTONLY is non-nil, return a vector representing
3482 the first key sequence found, rather than a list of all possible key 3480 the first key sequence found, rather than a list of all possible key
3483 sequences. 3481 sequences.
3484 3482
3485 If optional 4th arg NOINDIRECT is non-nil, don't follow indirections 3483 Optional 4th argument NOINDIRECT is ignored. (GNU Emacs uses it to allow
3486 to other keymaps or slots. This makes it possible to search for an 3484 searching for an indirect keymap by inhibiting following of indirections to
3487 indirect definition itself. 3485 keymaps or slots, but XEmacs doesn't need it because keymaps are a type.)
3486
3487 If optional 5th argument EVENT-OR-KEYS is non-nil and KEYMAPS is nil,
3488 search in the currently applicable maps for EVENT-OR-KEYS (this is
3489 equivalent to specifying `(current-keymaps EVENT-OR-KEYS)' as the
3490 argument to KEYMAPS).
3488 */ 3491 */
3489 (definition, keymaps, firstonly, UNUSED (noindirect), event_or_keys)) 3492 (definition, keymaps, firstonly, UNUSED (noindirect), event_or_keys))
3490 { 3493 {
3491 /* This function can GC */ 3494 /* This function can GC */
3492 Lisp_Object maps[100]; 3495 Lisp_Object maps[100];