From 8cd670fbef6c7d8c6dbb592a6c4c21cad3e8adcc Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Thu, 18 Oct 2007 16:01:02 +0000 Subject: [PATCH] (delphi-newline): Use forward-line. --- lisp/progmodes/delphi.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.11.4.GIT