diff options
| author | Alan Mackenzie | 2007-03-25 12:03:13 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2007-03-25 12:03:13 +0000 |
| commit | 6bc7293bd698dd2375d259e614a41f86a0f72b1e (patch) | |
| tree | 49b3256ce1357de857eabd00f0b505c308733663 | |
| parent | 0c5f5bd4f9bdef8e50a2cc89b94f51d54f74c5c4 (diff) | |
| download | emacs-6bc7293bd698dd2375d259e614a41f86a0f72b1e.tar.gz emacs-6bc7293bd698dd2375d259e614a41f86a0f72b1e.zip | |
(c-before-change): Fix BOB bug.
| -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 |