1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

(delphi-newline): Use forward-line.

This commit is contained in:
Thien-Thi Nguyen 2007-10-18 16:01:02 +00:00
parent e82a724f61
commit 8cd670fbef

View file

@ -1642,7 +1642,7 @@ before the indent, the point is moved to the indent."
(when delphi-newline-always-indents (when delphi-newline-always-indents
;; Indent both the (now) previous and current line first. ;; Indent both the (now) previous and current line first.
(save-excursion (save-excursion
(previous-line 1) (forward-line -1)
(delphi-indent-line)) (delphi-indent-line))
(delphi-indent-line))) (delphi-indent-line)))