aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-08-11 22:07:04 +0000
committerRichard M. Stallman1997-08-11 22:07:04 +0000
commit16935765f3dc9f48095b40e4dd72db152271925f (patch)
tree2ff6dc0d0525223c67998c8719b888368ae8b5c9
parent5d7e8345557656c240b0305366d51f1b8e4bcc40 (diff)
downloademacs-16935765f3dc9f48095b40e4dd72db152271925f.tar.gz
emacs-16935765f3dc9f48095b40e4dd72db152271925f.zip
(c-lineup-java-throws): Change the `when' clause to an `if-progn'.
-rw-r--r--lisp/progmodes/cc-align.el9
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