Commit 95d19fad authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(calculate-c-indent): When checking whether function decl

is inside a comment, move back to the `(' that starts the arglist.
parent b0384831
......@@ -642,6 +642,8 @@ Returns nil if line starts inside a string, t if in a comment."
;; Make sure the "function decl" we found
;; is not inside a comment.
(progn
;; Move back to the `(' starting arglist
(goto-char lim)
(beginning-of-line)
(while (and (not comment)
(search-forward "/*" lim t))
......
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