emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Called for effect" warning in lisp/progmodes/cc-cmds.el


From: Juanma Barranquero
Subject: "Called for effect" warning in lisp/progmodes/cc-cmds.el
Date: Wed, 15 Jan 2003 13:36:13 +0100

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]