# HG changeset patch # User Richard M. Stallman # Date 871337224 0 # Node ID 885a72deec978c10d2775c25ecfb6c6c56387d2e # Parent 812986c77ae29afbdd771bd7575a041b0cd895c3 (c-lineup-java-throws): Change the `when' clause to an `if-progn'. diff -r 812986c77ae2 -r 885a72deec97 lisp/progmodes/cc-align.el --- 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))))