changeset 4333:c356a81e1a46

(calculate-c-indent): When checking whether function decl is inside a comment, move back to the `(' that starts the arglist.
author Richard M. Stallman <rms@gnu.org>
date Thu, 29 Jul 1993 04:01:09 +0000
parents 9715c82333ab
children b39cd3621215
files lisp/progmodes/c-mode.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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))