emacs-devel
[Top][All Lists]
Advanced

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

Wrong comment in keymap.c


From: Herbert Euler
Subject: Wrong comment in keymap.c
Date: Thu, 22 Mar 2007 20:37:10 +0800

The comment for `current_minor_maps' is wrong.  Below is the patch.

*** keymap.c.~1.282.4.44.~      Mon Nov 13 10:58:22 2006
--- keymap.c    Thu Mar 22 20:31:16 2007
*************** current_minor_maps (modeptr, mapptr)
*** 1432,1439 ****
 static Lisp_Object *cmm_modes = NULL, *cmm_maps = NULL;
 static int cmm_size = 0;

! /* Store a pointer to an array of the keymaps of the currently active
!    minor modes in *buf, and return the number of maps it contains.

    This function always returns a pointer to the same buffer, and may
    free or reallocate it, so if you want to keep it for a long time or
--- 1432,1441 ----
 static Lisp_Object *cmm_modes = NULL, *cmm_maps = NULL;
 static int cmm_size = 0;

! /* Store a pointer to an array of the currently active minor modes in
!    *modeptr, a pointer to an array of the keymaps of the currently
!    active minor modes in *mapptr, and return the number of maps
!    *mapptr contains.

    This function always returns a pointer to the same buffer, and may
    free or reallocate it, so if you want to keep it for a long time or

Regards,
Guanpeng Xu

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/





reply via email to

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