all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Herbert Euler" <herberteuler@hotmail.com>
To: emacs-devel@gnu.org
Subject: Wrong comment in keymap.c
Date: Thu, 22 Mar 2007 20:37:10 +0800	[thread overview]
Message-ID: <BAY143-F3DA86CE0D635A0D2B5993DA6B0@phx.gbl> (raw)

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	other threads:[~2007-03-22 12:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-22 12:37 Herbert Euler [this message]
2007-03-23  1:25 ` Wrong comment in keymap.c 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY143-F3DA86CE0D635A0D2B5993DA6B0@phx.gbl \
    --to=herberteuler@hotmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.