| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(Fkey_binding): Try the `keymap' property map first.
(Fdescribe_buffer_bindings): Show `keymap' property bindings before
minor mode bindings.
|
| |
|
|
| |
Handle modifier bits. Correct typo in error message.
|
| |
|
|
|
|
| |
(Fdefine_key): Add error message for trying to bind [DEL], [RET], etc.
(exclude_keys): New variable.
(Flookup_key): Error message if key has wrong data type.
|
| | |
|
| | |
|
| |
|
|
|
| |
Make nil bindings in char-tables transparent.
(store_in_keymap): Turn a nil binding into a t binding for char-tables.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
(describe_command, describe_translation): Add dummy second param.
(describe_map): Call elt_describer with two arguments.
(describe_vector_princ): Add `fun' parameter.
Call it instead of the hardcoded `princ'.
(describe_vector): Add arg `args'.
Pass it as a new second argument to elt_describer.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
bindings along with or instead of the buffer local map.
Make the overriding maps override what they should.
|
| | |
|
| |
|
|
| |
correspondent in minor-mode-map-alist, not the whole tail.
|
| |
|
|
| |
with lisp system changes.
|
| |
|
|
|
| |
If a parent is reached and noinherit is set, exit immediately.
Use AREF and ASIZE macros. Call get_keyelt before checking KEYMAPP.
|
| |
|
|
|
|
| |
(Fdescribe_bindings_internal, describe_buffer_bindings): Remove.
(syms_of_keymap): Setup inheritance between maps.
Don't export Sdescribe_bindings_internal any more.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(accessible_keymaps_1): New function.
(Faccessible_keymaps, accessible_keymaps_char_table): Use it.
(Fwhere_is_internal): Use Fcurrent_active_maps.
(Fdescribe_buffer_bindings): Renamed from describe_buffer_bindings.
Insert in current buffer rather than standard-output.
Don't call `help-mode'. Export to elisp.
(describe_buffer_bindings): New wrapper.
(syms_of_keymap): Defsubr Skeymap_prompt, Scurrent_active_maps
and Sdescribe_buffer_bindings.
|
| | |
|
| |
|
|
| |
a generic character instead of its definition (KEY . BINDING).
|
| |
|
|
| |
IDX when it has modifiers.
|
| |
|
|
|
|
| |
. BINDING) exists, where GENERIC-CHAR is the generic character of
the charset of IDX, return BINDING, unless there exists or binding
for IDX itself.
|
| |
|
|
| |
buffer before calling build_string.
|
| |
|
|
| |
only if necessary.
|
| |
|
|
| |
a make_multibyte_string. From Kenichi Handa <handa@etl.go.jp>.
|
| |
|
|
|
| |
(accessible_keymaps_char_table): Obey `is_metized'.
(where_is_internal, Fwhere_is_internal): Don't confuse int and Lisp_Object.
|
| | |
|
| | |
|
| |
|
|
| |
if no ascii binding is found (when firstonly is t).
|
| | |
|
| |
|
|
| |
(where_is_internal, Fwhere_is_internal): Use it.
|
| | |
|
| |
|
|
|
| |
value in where_is_cache; the next lookup in the cache returns
something bogus if we do.
|
| |
|
|
| |
(Fwhere_is_internal): Rename parameter XKEYMAP to KEYMAP.
|
| |
|
|
|
|
|
| |
If set, print multibyte text.
(Fsingle_key_description): Call push_key_description with
FORCE_MULTIBYTE set.
(describe_buffer_bindings): Likewise.
|
| |
|
|
| |
and eight-bit-graphic to multibyte character.
|
| |
|
|
|
|
|
| |
excluding menu-bar and tool-bar.
(Fwhere_is_internal): Check ascii_sequence_p when looking up the cache.
(menu_item_p): Remove.
(where_is_internal_1): Don't ignore menu-items.
|
| | |
|
| |
|
|
| |
return an empty string.
|
| | |
|
| |
|
|
|
|
| |
applying XBUFFER to it.
* keymap.c (where_is_internal): Pass lisp object, not integer, to Faref.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(get_keymap): Remove.
(get_keymap_1): Rename get_keymap.
* keyboard.h (get_keymap_1, Fkeymapp): Remove prototype.
* xterm.c (note_mode_line_highlight): Use KEYMAPP.
* xmenu.c (single_submenu): Use KEYMAPP.
(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
Use KEYMAPP rather than Fkeymapp.
* w32term.c (note_mode_line_highlight): Use KEYMAPP.
* w32menu.c (True, False): Remove (use TRUE and FALSE instead).
(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
Use KEYMAPP rather than Fkeymapp.
(single_submenu): Use KEYMAPP.
(w32_menu_show, w32_dialog_show): Use TRUE.
* minibuf.c (Fread_from_minibuffer): Update call to get_keymap.
* keymap.c (KEYMAPP): Remove (moved to lisp.h).
(Fkeymapp): Use KEYMAPP.
(get_keymap): Rename from get_keymap_1. Remove old def.
Return t when autoload=0 and error=0 and the keymap needs autoloading.
(Fcopy_keymap): Check (eq (car x) 'keymap) rather than using Fkeymapp.
(Fminor_mode_key_binding): Don't raise an error if the binding
is not a keymap.
(Fuse_global_map, Fuse_local_map): Allow autoloading.
(Faccessible_keymaps): Fetch keymaps rather than checking Fkeymapp.
* keyboard.c (read_char): get_keymap_1 -> get_keymap.
Allow Vspecial_event_map to be autoloaded.
(menu_bar_items): Fetch the keymap rather than using keymapp.
(menu_bar_one_keymap): No need to follow func-indirect any more.
(parse_menu_item): get_keymap_1 -> get_keymap.
(tool_bar_items): Fetch the keymap rather than using keymapp.
(read_key_sequence): Use KEYMAPP.
* intervals.c (get_local_map): Use get_keymap rather than following
function-indirections explicitly.
* doc.c (Fsubstitute_command_keys): get_keymap_1 -> get_keymap.
|
| |
|
|
|
|
|
|
|
| |
(Fset_keymap_parent, store_in_keymap): Flush the where-is cache.
(where_is_internal): Renamed from Fwhere_is_internal.
Don't DEFUN any more. Arg `xkeymap' replaced by `keymaps'.
(Fwhere_is_internal): New function wrapping where_is_internal.
(where_is_internal_1): Handle the case where we're filling the cache.
(syms_of_keymap): Init and gcpro the where_is_cache(|_keymaps).
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(Fmake_sparse_keymap): Docstring fix.
(synkey): Remove.
(shadow_lookup): Move up.
Handle the case where lookup-key returns an integer.
(where_is_internal_1): Drop arg `keymap'. Don't check shadowing.
(where_is_internal_2): Adapt to fewer args for where_is_internal_1.
(Fwhere_is_internal): Allow `xkeymap' to be a list of keymaps.
Simplify/rewrite the keymap-finding code.
Add check for command shadowing, using shadow_lookup.
|
| |
|
|
|
| |
rather than KEYMAPP, to allow EQ to work correctly if parent_entry is
a symbol.
|
| | |
|
| |
|
|
|
|
|
| |
is nil: since we go to the end of submap anyway, we'd end up
setting nil to nil.
(access_keymap): Don't use KEYMAPP on meta_map since KEYMAPP
doesn't obey autoload.
|