diff options
| -rw-r--r-- | lisp/progmodes/cc-align.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/progmodes/cc-align.el b/lisp/progmodes/cc-align.el index 2ca5bd5c320..3c1d7393b27 100644 --- a/lisp/progmodes/cc-align.el +++ b/lisp/progmodes/cc-align.el | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | ;; 1985 Richard M. Stallman | 7 | ;; 1985 Richard M. Stallman |
| 8 | ;; Maintainer: cc-mode-help@python.org | 8 | ;; Maintainer: cc-mode-help@python.org |
| 9 | ;; Created: 22-Apr-1997 (split from cc-mode.el) | 9 | ;; Created: 22-Apr-1997 (split from cc-mode.el) |
| 10 | ;; Version: 5.14 | 10 | ;; Version: 5.15 |
| 11 | ;; Keywords: c languages oop | 11 | ;; Keywords: c languages oop |
| 12 | 12 | ||
| 13 | ;; This file is part of GNU Emacs. | 13 | ;; This file is part of GNU Emacs. |
| @@ -146,9 +146,10 @@ | |||
| 146 | (looking-at "throws[ \t\n]")) | 146 | (looking-at "throws[ \t\n]")) |
| 147 | (forward-word 1) | 147 | (forward-word 1) |
| 148 | (skip-chars-forward " \t") | 148 | (skip-chars-forward " \t") |
| 149 | (when (eolp) | 149 | (if (eolp) |
| 150 | (back-to-indentation) | 150 | (progn |
| 151 | (setq extra c-basic-offset))) | 151 | (back-to-indentation) |
| 152 | (setq extra c-basic-offset)))) | ||
| 152 | (t (goto-char iopl))) | 153 | (t (goto-char iopl))) |
| 153 | (+ (- (current-column) langelem-col) extra)))) | 154 | (+ (- (current-column) langelem-col) extra)))) |
| 154 | 155 | ||