Commit 84f4e216 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(c-fill-paragraph): Don't include part of comment

terminator in the fill-prefix.
parent 47ba05ac
......@@ -386,6 +386,11 @@ preserving the comment indentation or line-starting decorations."
(point))))
(beginning-of-line)
(skip-chars-forward " \t*" max-prefix-end)
;; Don't include part of comment terminator
;; in the fill-prefix.
(and (eq (following-char) ?/)
(eq (preceding-char) ?*)
(backward-char 1))
(point)))
;; If the comment is only one line followed by a blank
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment