From: Thien-Thi Nguyen Date: Thu, 18 Oct 2007 16:01:02 +0000 (+0000) Subject: (delphi-newline): Use forward-line. X-Git-Tag: emacs-pretest-23.0.90~10249 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8cd670fbef6c7d8c6dbb592a6c4c21cad3e8adcc;p=emacs.git (delphi-newline): Use forward-line. --- diff --git a/lisp/progmodes/delphi.el b/lisp/progmodes/delphi.el index 6cbef6f426d..7c2417fde1a 100644 --- a/lisp/progmodes/delphi.el +++ b/lisp/progmodes/delphi.el @@ -1642,7 +1642,7 @@ before the indent, the point is moved to the indent." (when delphi-newline-always-indents ;; Indent both the (now) previous and current line first. (save-excursion - (previous-line 1) + (forward-line -1) (delphi-indent-line)) (delphi-indent-line)))