Mercurial > emacs
changeset 76722:af512a29da94
(c-before-change): Fix BOB bug.
author | Alan Mackenzie <acm@muc.de> |
---|---|
date | Sun, 25 Mar 2007 12:03:13 +0000 |
parents | 7ed73702049d |
children | a68603f8b839 |
files | lisp/progmodes/cc-mode.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/cc-mode.el Sun Mar 25 12:01:03 2007 +0000 +++ b/lisp/progmodes/cc-mode.el Sun Mar 25 12:03:13 2007 +0000 @@ -509,9 +509,9 @@ 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) - end))) + (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 (while