]> code.delx.au - gnu-emacs/commitdiff
(c-lineup-java-throws): Change the `when' clause to an `if-progn'.
authorRichard M. Stallman <rms@gnu.org>
Mon, 11 Aug 1997 22:07:04 +0000 (22:07 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 11 Aug 1997 22:07:04 +0000 (22:07 +0000)
lisp/progmodes/cc-align.el

index 2ca5bd5c320e43c17ce443d1aeb1b86c5b031a10..3c1d7393b272fcf69329409a57ff19b7c1b249e6 100644 (file)
@@ -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.
             (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))))