Mercurial > emacs
diff lisp/progmodes/delphi.el @ 85408:a7ff857f476d
(delphi-newline): Use forward-line.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Thu, 18 Oct 2007 16:01:02 +0000 |
parents | 73311bfc1e1e |
children | 20bb7aaa7b12 1251cabc40b7 |
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)))