mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 21:37:34 +00:00
(indent-c-exp): Call calculate-c-indent-within-comment when appropriate.
This commit is contained in:
parent
9ce49c8d77
commit
3746159f73
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue