all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "Called for effect" warning in lisp/progmodes/cc-cmds.el
@ 2003-01-15 12:36 Juanma Barranquero
  2003-01-15 12:48 ` Juanma Barranquero
  0 siblings, 1 reply; 2+ messages in thread
From: Juanma Barranquero @ 2003-01-15 12:36 UTC (permalink / raw)
  Cc: bug-cc-mode

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


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

* Re: "Called for effect" warning in lisp/progmodes/cc-cmds.el
  2003-01-15 12:36 "Called for effect" warning in lisp/progmodes/cc-cmds.el Juanma Barranquero
@ 2003-01-15 12:48 ` Juanma Barranquero
  0 siblings, 0 replies; 2+ messages in thread
From: Juanma Barranquero @ 2003-01-15 12:48 UTC (permalink / raw)
  Cc: emacs-devel, bug-cc-mode

On Wed, 15 Jan 2003 13:36:13 +0100, Juanma Barranquero <lektu@terra.es> wrote:

Forget it, I was looking at the EMACS_21_1_RC version of the file, not
the trunk one.

Sorry for the noise.


                                                           /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


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

end of thread, other threads:[~2003-01-15 12:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-15 12:36 "Called for effect" warning in lisp/progmodes/cc-cmds.el Juanma Barranquero
2003-01-15 12:48 ` Juanma Barranquero

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.