# HG changeset patch # User Richard M. Stallman # Date 743918469 0 # Node ID c356a81e1a465901467c8eb81c0e346cf77a2c6f # Parent 9715c82333ab8157145a7699397ed490e6984831 (calculate-c-indent): When checking whether function decl is inside a comment, move back to the `(' that starts the arglist. diff -r 9715c82333ab -r c356a81e1a46 lisp/progmodes/c-mode.el --- a/lisp/progmodes/c-mode.el Thu Jul 29 03:43:38 1993 +0000 +++ b/lisp/progmodes/c-mode.el Thu Jul 29 04:01:09 1993 +0000 @@ -642,6 +642,8 @@ ;; 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))