aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKaroly Lorentey2004-08-11 12:30:04 +0000
committerKaroly Lorentey2004-08-11 12:30:04 +0000
commit414834ebfc9768af883783ba138c6ece93b14324 (patch)
treea72685a1691ca9616e18d07d45a2e24895ae01bb /src
parentcd83ec7be76b05014a49f8bb155a84ddd7c323ee (diff)
parent7c3225c3a606c9e81e98b2b1f414542aca21d36f (diff)
downloademacs-414834ebfc9768af883783ba138c6ece93b14324.tar.gz
emacs-414834ebfc9768af883783ba138c6ece93b14324.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-485 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-486 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-487 Tweak permissions * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-488 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-229
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/keymap.c20
2 files changed, 16 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 248d5daa92e..3f9b6d85e51 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12004-08-09 Luc Teirlinck <teirllm@auburn.edu>
2
3 * keymap.c (Fmake_keymap, Fmap_keymap, Fwhere_is_internal): Doc fixes.
4
12004-08-08 Luc Teirlinck <teirllm@auburn.edu> 52004-08-08 Luc Teirlinck <teirllm@auburn.edu>
2 6
3 * keyboard.c: Declare Qdisabled_command_function instead of 7 * keyboard.c: Declare Qdisabled_command_function instead of
diff --git a/src/keymap.c b/src/keymap.c
index e93a3f89fe4..484f08b9077 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -131,10 +131,11 @@ static void silly_event_symbol_error P_ ((Lisp_Object));
131 131
132DEFUN ("make-keymap", Fmake_keymap, Smake_keymap, 0, 1, 0, 132DEFUN ("make-keymap", Fmake_keymap, Smake_keymap, 0, 1, 0,
133 doc: /* Construct and return a new keymap, of the form (keymap CHARTABLE . ALIST). 133 doc: /* Construct and return a new keymap, of the form (keymap CHARTABLE . ALIST).
134CHARTABLE is a char-table that holds the bindings for the ASCII 134CHARTABLE is a char-table that holds the bindings for all characters
135characters. ALIST is an assoc-list which holds bindings for function keys, 135without modifiers. All entries in it are initially nil, meaning
136mouse events, and any other things that appear in the input stream. 136"command undefined". ALIST is an assoc-list which holds bindings for
137All entries in it are initially nil, meaning "command undefined". 137function keys, mouse events, and any other things that appear in the
138input stream. Initially, ALIST is nil.
138 139
139The optional arg STRING supplies a menu name for the keymap 140The optional arg STRING supplies a menu name for the keymap
140in case you use it as a menu with `x-popup-menu'. */) 141in case you use it as a menu with `x-popup-menu'. */)
@@ -729,7 +730,10 @@ map_keymap_call (key, val, fun, dummy)
729 730
730DEFUN ("map-keymap", Fmap_keymap, Smap_keymap, 2, 2, 0, 731DEFUN ("map-keymap", Fmap_keymap, Smap_keymap, 2, 2, 0,
731 doc: /* Call FUNCTION for every binding in KEYMAP. 732 doc: /* Call FUNCTION for every binding in KEYMAP.
732FUNCTION is called with two arguments: the event and its binding. */) 733FUNCTION is called with two arguments: the event and its binding.
734If KEYMAP has a parent, the parent's bindings are included as well.
735This works recursively: if the parent has itself a parent, then the
736grandparent's bindings are also included and so on. */)
733 (function, keymap) 737 (function, keymap)
734 Lisp_Object function, keymap; 738 Lisp_Object function, keymap;
735{ 739{
@@ -2573,7 +2577,7 @@ where_is_internal (definition, keymaps, firstonly, noindirect, no_remap)
2573 2577
2574DEFUN ("where-is-internal", Fwhere_is_internal, Swhere_is_internal, 1, 5, 0, 2578DEFUN ("where-is-internal", Fwhere_is_internal, Swhere_is_internal, 1, 5, 0,
2575 doc: /* Return list of keys that invoke DEFINITION. 2579 doc: /* Return list of keys that invoke DEFINITION.
2576If KEYMAP is non-nil, search only KEYMAP and the global keymap. 2580If KEYMAP is a keymap, search only KEYMAP and the global keymap.
2577If KEYMAP is nil, search all the currently active keymaps. 2581If KEYMAP is nil, search all the currently active keymaps.
2578If KEYMAP is a list of keymaps, search only those keymaps. 2582If KEYMAP is a list of keymaps, search only those keymaps.
2579 2583
@@ -2581,8 +2585,8 @@ If optional 3rd arg FIRSTONLY is non-nil, return the first key sequence found,
2581rather than a list of all possible key sequences. 2585rather than a list of all possible key sequences.
2582If FIRSTONLY is the symbol `non-ascii', return the first binding found, 2586If FIRSTONLY is the symbol `non-ascii', return the first binding found,
2583no matter what it is. 2587no matter what it is.
2584If FIRSTONLY has another non-nil value, prefer sequences of ASCII characters, 2588If FIRSTONLY has another non-nil value, prefer sequences of ASCII characters
2585and entirely reject menu bindings. 2589\(or their meta variants) and entirely reject menu bindings.
2586 2590
2587If optional 4th arg NOINDIRECT is non-nil, don't follow indirections 2591If optional 4th arg NOINDIRECT is non-nil, don't follow indirections
2588to other keymaps or slots. This makes it possible to search for an 2592to other keymaps or slots. This makes it possible to search for an