]> git.eshelyaron.com Git - emacs.git/commitdiff
(delphi-newline): Use forward-line.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Thu, 18 Oct 2007 16:01:02 +0000 (16:01 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Thu, 18 Oct 2007 16:01:02 +0000 (16:01 +0000)
lisp/progmodes/delphi.el

index 6cbef6f426df96bff5debd222f0845b763bc3425..7c2417fde1a368f5b4d29c46af682beb3c5fbff3 100644 (file)
@@ -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)))