changeset 85408:a7ff857f476d

(delphi-newline): Use forward-line.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Thu, 18 Oct 2007 16:01:02 +0000
parents fc7f66cff022
children 4c909d000629
files lisp/progmodes/delphi.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/delphi.el	Thu Oct 18 16:00:00 2007 +0000
+++ b/lisp/progmodes/delphi.el	Thu Oct 18 16:01:02 2007 +0000
@@ -1642,7 +1642,7 @@
   (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)))