1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 20:00:46 -08:00
Commit graph

327 commits

Author SHA1 Message Date
Chong Yidong
d3ee989e85 * keymap.c (describe_map): Avoid generating duplicate entries if
the shadowed binding has the same definition.
2006-05-10 03:32:06 +00:00
Kenichi Handa
5f2c7b2a65 (push_key_description): Fix previous change. 2006-05-09 13:20:25 +00:00
Kenichi Handa
f39a0b4301 (push_key_description): Handle invalid character key. 2006-05-09 13:17:24 +00:00
Richard M. Stallman
9abc5f4519 (Fdefine_key): Improve error message when KEY begins with a non-prefix key. 2006-04-30 22:15:21 +00:00
Stefan Monnier
e89e07ccac (store_in_keymap): Change def' arg to not be register'.
Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8):
keymap.c:895: error: address of register variable `def' requested.
2006-04-26 20:50:25 +00:00
Richard M. Stallman
5615dcc03b (describe_map): Make "shadowed" warning more verbose. 2006-04-18 20:58:59 +00:00
Stefan Monnier
15fdcac722 (describe_map): Don't use XINT if we haven't checked INTEGERP. 2006-04-08 14:20:10 +00:00
Kenichi Handa
d89b5760af (map_keymap): Set tail to Qnil before GCPRO it. 2006-03-20 06:24:31 +00:00
Richard M. Stallman
7857982c9f (describe_map): Shorten string to indicate shadowed binding. 2006-03-11 15:25:03 +00:00
Kim F. Storm
a7f96a358b * data.c (Findirect_function): Add NOERROR arg. All callers changed
to pass Qnil for NOERROR.

* keymap.c (current_minor_maps_error): Remove.
(current_minor_maps): Pass Qt for NOERROR to Findirect_function
instead of using internal_condition_case_1+current_minor_maps_error.
2006-02-10 00:00:31 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Richard M. Stallman
bb9c8a997a (Fmap_keymap): Doc fix. 2006-01-26 17:50:50 +00:00
Richard M. Stallman
05f5847bd2 (Fmap_keymap): Doc fix. 2006-01-19 17:41:40 +00:00
Stefan Monnier
ccf0250b2f (describe_map_compare): Yet another int/Lisp_Object mixup. 2006-01-03 16:54:47 +00:00
Richard M. Stallman
c36238ee75 (describe_map): Put sparse map elements into an array,
sort them, then output a sequence of identical bindings on one line.
(struct describe_map_elt): New data type.
(describe_map_compare): New function.
2005-12-30 04:52:32 +00:00
Stefan Monnier
addcdb7c89 (Vfunction_key_map): Docstring fix: mention that bindings can be functions. 2005-12-19 15:46:13 +00:00
Richard M. Stallman
49daa5b162 (Fset_keymap_parent, store_in_keymap): Use CHECK_IMPURE.
(Flookup_key): Doc fix.
(syms_of_keymap) <function-key-map>: Doc fix.
2005-12-11 15:35:14 +00:00
Eli Zaretskii
3d866cebd2 (Vminibuffer_local_filename_completion_map)
(Vminibuffer_local_must_match_filename_map): New variables.
(syms_of_keymap): DEFVAR_LISP them, initialize them, and set their parent to
be Vminibuffer_local_completion_map and Vminibuffer_local_must_match_map,
respectively.
2005-12-02 13:47:11 +00:00
Ken Raeburn
d7c0be75d3 (shadow_lookup): Use make_number to pass a number to Fsubstring. 2005-11-21 23:33:01 +00:00
Juri Linkov
d35f78c989 (shadow_lookup): If Flookup_key returns a number,
call it again with a sub-key-sequence, and if its return value
is non-nil (sub-key is bound), return nil.
2005-11-09 07:48:38 +00:00
Kim F. Storm
d6a31e9ffd (Fdescribe_buffer_bindings): Reload `translate'
after insert which runs signal_after_change.
2005-09-12 10:26:35 +00:00
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Juri Linkov
15fbe81f20 (Fminor_mode_key_binding): Delete duplicate words. 2005-07-18 16:33:00 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Richard M. Stallman
18e2d91f52 (where_is_internal): Convert a string used as event type into "(any string)". 2005-04-10 01:45:58 +00:00
Richard M. Stallman
b88e82fd1f (describe_map_tree): New arg MENTION_SHADOW. Calls changed.
(describe_map, describe_vector): Likewise.  When it's 1,
don't omit shadowed bindings, instead mark them as shadowed.
2005-02-15 06:39:18 +00:00
Stefan Monnier
996f9cdebb (access_keymap): YAILOM. 2005-01-28 16:25:10 +00:00
Richard M. Stallman
7f3e88596f (access_keymap): Protect from bad value of meta_prefix_char. 2005-01-21 00:31:40 +00:00
Richard M. Stallman
d64cdc5972 (Fcurrent_active_maps): Ignore Voverriding_local_map
if Voverriding_terminal_local_map is non-nil.
2005-01-13 19:49:53 +00:00
Stefan Monnier
38cbfed434 (Flookup_key): Check INTEGERP before XINT. 2004-11-23 05:08:09 +00:00
Richard M. Stallman
0ea6ae0a0c (Fmap_keymap): New arg SORT-FIRST. Use
map-keymap-internal to implement that.
2004-11-16 17:00:59 +00:00
Stefan Monnier
32e2fb0429 (Fkeymap_prompt): Accept symbol keymaps. 2004-11-10 22:35:21 +00:00
Stefan Monnier
9ce78f7c7b (get_keymap): An autoload form is not a keymap. 2004-10-13 17:00:13 +00:00
Luc Teirlinck
2c0a0e38e9 (Fmake_keymap, Fmap_keymap, Fwhere_is_internal): Doc fixes. 2004-08-09 18:42:04 +00:00
Luc Teirlinck
7a093e8720 (Flocal_key_binding, Fglobal_key_binding)
(syms_of_keymap) <key-translation-map>: Doc fixes.
2004-08-08 00:33:40 +00:00
Luc Teirlinck
1492344029 (Fset_keymap_parent): Minor doc fix. 2004-07-31 16:05:54 +00:00
Luc Teirlinck
a523ade4cb (Fset_keymap_parent, Fdefine_prefix_command): Doc fixes. 2004-07-31 16:03:08 +00:00
Luc Teirlinck
bda67d967f (Ftext_char_description): Doc fix. 2004-06-23 17:03:50 +00:00
Juanma Barranquero
23715ea6ff (Fdescribe_vector): Fix docstring.
(Fkey_description, Fglobal_key_binding): Fix typo in docstring.
2004-06-05 00:30:12 +00:00
Juanma Barranquero
f63fd14ef3 (Fdefine_key): Doc fix. 2004-05-22 01:52:56 +00:00
Stefan Monnier
07f60146b3 (Fkey_description): Fix the usual int/Lisp_Object mixup. 2004-04-20 19:44:26 +00:00
Kim F. Storm
f8d8ba4051 (Fkey_description): Add optional PREFIX arg.
Combine prefix with KEYS to make up the full key sequence to describe.
Correlate meta_prefix_char and following (simple) key to describe
as meta modifier.  All callers changed.
(describe_map): Rename arg `keys' to `prefix'.  Remove local
`elt_prefix' var.  Use Fkey_description with prefix instead of
elt_prefix combined with Fsingle_key_description.
(describe_vector): Declare static.  Replace arg `elt_prefix' with
`prefix'.  Add KEYMAP_P arg.  Add local var `elt_prefix'; use it
if !KEYMAP_P. Use Fkey_description with prefix instead of
Fsingle_key_description.
2004-04-16 21:16:33 +00:00
Stefan Monnier
9d209cfe20 (Vmouse_events): Rename from Vmenu_events.
(syms_of_keymap): Add mouse-[45], header-line, and mode-line to it.
2004-02-04 20:19:37 +00:00
John Paul Wallington
26a6e439a3 (map_keymap): Don't abort when binding is a vector. 2003-10-03 08:30:55 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
fe72189a11 (Fset_keymap_parent, map_keymap, Fcopy_keymap)
(Faccessible_keymaps): Pass new arg to map_char_table.
2003-05-17 12:47:55 +00:00
Stefan Monnier
edf505ce9a (map_keymap): Doc fix. 2003-05-05 18:06:03 +00:00
Stefan Monnier
9d3153eb87 (map_keymap_item, map_keymap_char_table_item, map_keymap)
(map_keymap_call, Fmap_keymap): New functions.
(syms_of_keymap): Defsubr map-keymap.
2003-05-04 00:13:06 +00:00
Stefan Monnier
fad865a362 (Faccessible_keymaps): Remove unused var. 2003-03-18 19:35:23 +00:00
Stefan Monnier
73a4675c84 (accessible_keymaps_1): Break cycles but without preventing
multiple occurrences of the same keymap under different prefixes.
(Faccessible_keymaps): Remove code redundant since 1994-08-03T07:39:00Z!rms@gnu.org.
2003-03-18 19:34:31 +00:00