diff options
| -rw-r--r-- | lisp/progmodes/c-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el index 8c32229a299..198e430f60a 100644 --- a/lisp/progmodes/c-mode.el +++ b/lisp/progmodes/c-mode.el @@ -544,6 +544,7 @@ Return the amount the indentation changed by." (setq indent (save-excursion (forward-char) (backward-sexp) + (c-backward-to-start-of-if) (current-indentation)))) ((and (looking-at "while\\b") (save-excursion |
