diff options
| -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 4e0b92d107c..f5da0eecc2e 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." | |||
| 509 | type type-pos | 509 | type type-pos |
| 510 | marked-id term-pos | 510 | marked-id term-pos |
| 511 | (end1 | 511 | (end1 |
| 512 | (if (eq (get-text-property end 'face) 'font-lock-comment-face) | 512 | (or (and (eq (get-text-property end 'face) 'font-lock-comment-face) |
| 513 | (previous-single-property-change end 'face) | 513 | (previous-single-property-change end 'face)) |
| 514 | end))) | 514 | end))) |
| 515 | (when (>= end1 beg) ; Don't hassle about changes entirely in comments. | 515 | (when (>= end1 beg) ; Don't hassle about changes entirely in comments. |
| 516 | ;; Find a limit for the search for a `c-type' property | 516 | ;; Find a limit for the search for a `c-type' property |
| 517 | (while | 517 | (while |