diff options
| -rw-r--r-- | lisp/progmodes/c-mode.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el index 91016c99b9b..a2478b6edfa 100644 --- a/lisp/progmodes/c-mode.el +++ b/lisp/progmodes/c-mode.el | |||
| @@ -386,6 +386,11 @@ preserving the comment indentation or line-starting decorations." | |||
| 386 | (point)))) | 386 | (point)))) |
| 387 | (beginning-of-line) | 387 | (beginning-of-line) |
| 388 | (skip-chars-forward " \t*" max-prefix-end) | 388 | (skip-chars-forward " \t*" max-prefix-end) |
| 389 | ;; Don't include part of comment terminator | ||
| 390 | ;; in the fill-prefix. | ||
| 391 | (and (eq (following-char) ?/) | ||
| 392 | (eq (preceding-char) ?*) | ||
| 393 | (backward-char 1)) | ||
| 389 | (point))) | 394 | (point))) |
| 390 | 395 | ||
| 391 | ;; If the comment is only one line followed by a blank | 396 | ;; If the comment is only one line followed by a blank |