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

16 commits

Author SHA1 Message Date
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
David Kastrup
b74e16a384 * NEWS: explain new behavior and arguments of `key-binding' and
`command-remapping'.

* keymaps.texi (Active Keymaps): Adapt description to use
`get-char-property' instead `get-text-property'.  Explain how
mouse events change this.  Explain the new optional argument of
`key-binding' and its mouse-dependent lookup.
(Searching Keymaps): Adapt description similarly.  Explain the new
optional argument of `command-remapping'.

* Makefile.in (keymap.o): Add "keymap.h" and "window.h"
dependencies.

* keymap.c: include "window.h".
(Fcommand_remapping): New optional POSITION argument.
(Fkey_binding): New optional POSITION argument.  Completely rework
handling of mouse clicks to get the same order of keymaps as
`read-key-sequence' and heed POSITION.  Also temporarily switch
buffers to location of mouse click and back.

* keyboard.c (command_loop_1): Adjust call of `Fcommand_remapping'
for additional argument.
(parse_menu_item): Adjust call of `Fkey_binding' for additional
argument.
(read_key_sequence): If there are both `local-map' and `keymap'
text properties at some buffer position, heed both.

* keymap.h: Declare additional optional arguments of
`Fcommand_remapping' and `Fkey_binding'.
2006-09-15 07:19:15 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Stefan Monnier
478a161d79 Declare Fcurrent_active_maps, used in doc.c. 2005-02-21 13:39:53 +00:00
Richard M. Stallman
633e4bd48f (describe_map_tree): Change decl. 2005-02-15 06:42:06 +00:00
Kim F. Storm
b378e2c736 (Fkey_description): Fix prototype.
(describe_vector): Remove prototype.
2004-04-16 21:17:02 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
b41ea33eef (map_keymap_function_t): New type.
(map_keymap): Declare.
2003-05-04 00:10:01 +00:00
Kim F. Storm
023b93f6b0 Renamed remap-command to command-remapping. All uses changed. 2003-02-12 23:13:43 +00:00
Kim F. Storm
8160700003 (Fremap_command): Declare extern.
(is_command_symbol): Remove extern.
2002-02-23 22:01:16 +00:00
Kim F. Storm
cc0d001d9e (Fkey_binding, Fwhere_is_internal): Update prototype.
(is_command_symbol): Added prototype.
2002-02-06 22:58:23 +00:00
Stefan Monnier
f0bd0cddbb (describe_vector): Update prototype. 2001-11-19 22:46:29 +00:00
Stefan Monnier
1202c72b5d (Fcopy_keymap): Don't export. 2001-10-12 02:26:06 +00:00
Stefan Monnier
058ff27c39 New file. Extracted from lisp.h. 2001-10-08 11:12:28 +00:00