diff src/ChangeLog @ 43159:c69608fb5b19

Added command remapping.
author Kim F. Storm <storm@cua.dk>
date Wed, 06 Feb 2002 23:08:22 +0000
parents ee557660a984
children a7594a7b2ca2
line wrap: on
line diff
--- a/src/ChangeLog	Wed Feb 06 23:05:44 2002 +0000
+++ b/src/ChangeLog	Wed Feb 06 23:08:22 2002 +0000
@@ -1,3 +1,25 @@
+2002-02-06  Kim F. Storm  <storm@cua.dk>
+
+	* keymap.c (Fdefine_key): Allow symbol as KEY argument for
+	defining command remapping.  Doc updated.
+	(Flookup_key): Remap command through keymap if KEY is a symbol.
+	(is_command_symbol): New function.
+	(Fkey_binding): Use it.  New optional argument NO-REMAP.  Doc
+	updated.  Callers changed.  Perform command remapping via
+	recursive call unless that arg is non-nil.
+	(where_is_internal): New argument no_remap.  Callers changed.
+	Call recursively to find original key bindings for a remapped
+	comand unless that arg is non-nil.
+	(Fwhere_is_internal): New optional argument NO-REMAP.  Doc
+	updated.  Callers changed.  Pass arg to where_is_internal. 
+
+	* keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype.
+	(is_command_symbol): Added prototype.
+
+	* keyboard.c (Vthis_original_command): New variable.
+	(syms_of_keyboard): DEFVAR_LISP it.
+	(command_loop_1): Set it, and perform command remapping.
+
 2002-02-06  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>
 
 	* keyboard.c (recursive_edit_1): Call cancel_hourglass