(indent-c-exp): Call calculate-c-indent-within-comment when appropriate.

This commit is contained in:
Richard M. Stallman 1993-07-21 08:50:30 +00:00
parent 9ce49c8d77
commit 3746159f73

View file

@ -1112,6 +1112,10 @@ ENDPOS is encountered."
(if (car indent-stack)
(- (car indent-stack))
opoint))))
;; t means we are in a block comment and should
;; calculate accordingly.
(if (eq val t)
(setq val (calculate-c-indent-within-comment)))
(setcar indent-stack
(setq this-indent val))))
;; Adjust line indentation according to its contents