From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert Euler" Newsgroups: gmane.emacs.devel Subject: Wrong comment in keymap.c Date: Thu, 22 Mar 2007 20:37:10 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1174567103 23887 80.91.229.12 (22 Mar 2007 12:38:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2007 12:38:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 22 13:38:15 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HUMYZ-0006km-Co for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 13:38:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUMaM-0004ll-1f for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 07:40:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUMZP-0003sq-50 for emacs-devel@gnu.org; Thu, 22 Mar 2007 08:39:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HUMZN-0003pA-9N for emacs-devel@gnu.org; Thu, 22 Mar 2007 08:39:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUMZM-0003ob-W1 for emacs-devel@gnu.org; Thu, 22 Mar 2007 07:39:05 -0500 Original-Received: from bay0-omc3-s12.bay0.hotmail.com ([65.54.246.212]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HUMXZ-0006lY-HT for emacs-devel@gnu.org; Thu, 22 Mar 2007 08:37:13 -0400 Original-Received: from hotmail.com ([65.55.154.83]) by bay0-omc3-s12.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Thu, 22 Mar 2007 05:37:11 -0700 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 22 Mar 2007 05:37:11 -0700 Original-Received: from 65.55.154.123 by by143fd.bay143.hotmail.msn.com with HTTP; Thu, 22 Mar 2007 12:37:10 GMT X-Originating-IP: [216.145.54.158] X-Originating-Email: [herberteuler@hotmail.com] X-Sender: herberteuler@hotmail.com X-OriginalArrivalTime: 22 Mar 2007 12:37:11.0703 (UTC) FILETIME=[D023BA70:01C76C7E] X-detected-kernel: Windows 2000 SP4, XP SP1+ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68292 Archived-At: 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/