emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-mode.el,v


From: Alan Mackenzie
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-mode.el,v
Date: Sun, 25 Mar 2007 12:03:13 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Alan Mackenzie <acmacm> 07/03/25 12:03:13

Index: cc-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cc-mode.el,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- cc-mode.el  23 Mar 2007 09:52:41 -0000      1.56
+++ cc-mode.el  25 Mar 2007 12:03:13 -0000      1.57
@@ -509,8 +509,8 @@
              type type-pos
              marked-id term-pos
              (end1
-              (if (eq (get-text-property end 'face) 'font-lock-comment-face)
-                  (previous-single-property-change end 'face)
+              (or (and (eq (get-text-property end 'face) 
'font-lock-comment-face)
+                       (previous-single-property-change end 'face))
                 end)))
          (when (>= end1 beg) ; Don't hassle about changes entirely in comments.
            ;; Find a limit for the search for a `c-type' property




reply via email to

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