changeset 19296:885a72deec97

(c-lineup-java-throws): Change the `when' clause to an `if-progn'.
author Richard M. Stallman <rms@gnu.org>
date Mon, 11 Aug 1997 22:07:04 +0000
parents 812986c77ae2
children 1982f8488449
files lisp/progmodes/cc-align.el
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cc-align.el	Mon Aug 11 21:44:08 1997 +0000
+++ b/lisp/progmodes/cc-align.el	Mon Aug 11 22:07:04 1997 +0000
@@ -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))))