From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: "Called for effect" warning in lisp/progmodes/cc-cmds.el Date: Wed, 15 Jan 2003 13:36:13 +0100 Sender: cc-mode-help-admin@lists.sourceforge.net Message-ID: <20030115133104.6BF4.LEKTU@terra.es> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1042634247 9786 80.91.224.249 (15 Jan 2003 12:37:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2003 12:37:27 +0000 (UTC) Cc: bug-cc-mode@gnu.org Return-path: Original-Received: from lists.sourceforge.net ([66.35.250.206] helo=sc8-sf-list2.sourceforge.net) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18YmnM-0002XZ-00 for ; Wed, 15 Jan 2003 13:37:24 +0100 Original-Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18Ymo0-0004qM-00; Wed, 15 Jan 2003 04:38:04 -0800 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 18YmnA-0001io-00 for ; Wed, 15 Jan 2003 04:37:13 -0800 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 18Ymn7-00068H-00 for bug-cc-mode@gnu.org; Wed, 15 Jan 2003 07:37:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Ymn2-0000Xt-00 for bug-cc-mode@gnu.org; Wed, 15 Jan 2003 07:37:05 -0500 Original-Received: from [62.22.27.141] (helo=mail.peoplecall.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18YmmH-0007zj-00; Wed, 15 Jan 2003 07:36:18 -0500 Original-Received: from [62.22.27.143] (jbarranquero.ofi.peoplecall.com [62.22.27.143]) by mail.peoplecall.com (8.11.6/8.11.6) with ESMTP id h0FCaC321081; Wed, 15 Jan 2003 13:36:13 +0100 Original-To: emacs-devel@gnu.org X-Mailer: Becky! ver. 2.05.06 Errors-To: cc-mode-help-admin@lists.sourceforge.net X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports, feature requests, and general talk about CC Mode. List-Unsubscribe: , List-Archive: X-Original-Date: Wed, 15 Jan 2003 13:36:13 +0100 Xref: main.gmane.org gmane.emacs.cc-mode.general:314 gmane.emacs.devel:10749 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10749 What's the purpose of the marked line from lisp/progmodes/cc-cmds.el (#line 2461)? It produces a "Called for effect" warning. (if (save-excursion (back-to-indentation) (> (point) (car c-lit-limits)) ;;; ? (looking-at c-current-comment-prefix)) Perhaps something like (if (save-excursion (back-to-indentation) (and (> (point) (car c-lit-limits)) (looking-at c-current-comment-prefix))) was intended? /L/e/k/t/u ------------------------------------------------------- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en