emacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-commit] emacs/src keymap.c


From: Kim F. Storm
Subject: [Emacs-commit] emacs/src keymap.c
Date: Sat, 23 Feb 2002 17:00:37 -0500

CVSROOT:        /cvs
Module name:    emacs
Changes by:     Kim F. Storm <address@hidden>   02/02/23 17:00:37

Modified files:
        src            : keymap.c 

Log message:
        The following changes rework my patch of 2002-02-06 which
        added command remapping by entering the commands directly into
        the keymaps.  Now, command remapping uses an explicit `remap'
        prefix in the keymaps, i.e. [remap COMMAND].
        
        (Qremap, remap_command_vector): New variables.
        (is_command_symbol): Removed function.
        (Fdefine_key): No longer accept a symbol for KEY.  Added
        validation of [remap COMMAND] argument for KEY.  The DEF is no
        longer required to be a symbol when remapping a command.
        (Fremap_command): New function to remap command through keymaps.
        (Flookup_key): Perform command remapping initiated by
        Fremap_command directly for speed.
        (Fkey_binding): Use Fremap_command for command remapping.
        (where_is_internal): Handle new command remapping representation.
        (syms_of_keymap): Intern Qremap, initialize remap_command_vector,
        staticpro them.  Defsubr Fremap_command.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/keymap.c.diff?tr1=1.256&tr2=1.257&r1=text&r2=text




reply via email to

[Prev in Thread] Current Thread [Next in Thread]