diff options
author | Alan Mackenzie <[email protected]> | 2007-03-25 12:03:13 +0000 |
---|---|---|
committer | Alan Mackenzie <[email protected]> | 2007-03-25 12:03:13 +0000 |
commit | 6bc7293bd698dd2375d259e614a41f86a0f72b1e (patch) | |
tree | 49b3256ce1357de857eabd00f0b505c308733663 /lisp/progmodes/cc-mode.el | |
parent | 0c5f5bd4f9bdef8e50a2cc89b94f51d54f74c5c4 (diff) |
(c-before-change): Fix BOB bug.
Diffstat (limited to 'lisp/progmodes/cc-mode.el')
-rw-r--r-- | lisp/progmodes/cc-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index 4e0b92d107..f5da0eecc2 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el @@ -509,9 +509,9 @@ preferably use the `c-mode-menu' language constant directly." 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 |