unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Wrong comment in keymap.c
@ 2007-03-22 12:37 Herbert Euler
  2007-03-23  1:25 ` Herbert Euler
  0 siblings, 1 reply; 6+ messages in thread
From: Herbert Euler @ 2007-03-22 12:37 UTC (permalink / raw)
  To: emacs-devel

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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-03-26  6:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-22 12:37 Wrong comment in keymap.c Herbert Euler
2007-03-23  1:25 ` Herbert Euler
2007-03-26  1:49   ` Stefan Monnier
2007-03-26  4:24     ` Herbert Euler
2007-03-26  5:50       ` Herbert Euler
2007-03-26  6:00         ` Herbert Euler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).