diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-08-11 22:07:04 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-08-11 22:07:04 +0000 |
commit | 16935765f3dc9f48095b40e4dd72db152271925f (patch) | |
tree | 2ff6dc0d0525223c67998c8719b888368ae8b5c9 /lisp/progmodes/cc-align.el | |
parent | 5d7e8345557656c240b0305366d51f1b8e4bcc40 (diff) | |
download | emacs-16935765f3dc9f48095b40e4dd72db152271925f.tar.gz emacs-16935765f3dc9f48095b40e4dd72db152271925f.tar.bz2 emacs-16935765f3dc9f48095b40e4dd72db152271925f.zip |
(c-lineup-java-throws): Change the `when' clause to an `if-progn'.
Diffstat (limited to 'lisp/progmodes/cc-align.el')
-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 @@ ;; 1985 Richard M. Stallman ;; Maintainer: cc-mode-help@python.org ;; Created: 22-Apr-1997 (split from cc-mode.el) -;; Version: 5.14 +;; Version: 5.15 ;; Keywords: c languages oop ;; This file is part of GNU Emacs. @@ -146,9 +146,10 @@ (looking-at "throws[ \t\n]")) (forward-word 1) (skip-chars-forward " \t") - (when (eolp) - (back-to-indentation) - (setq extra c-basic-offset))) + (if (eolp) + (progn + (back-to-indentation) + (setq extra c-basic-offset)))) (t (goto-char iopl))) (+ (- (current-column) langelem-col) extra)))) |