summaryrefslogtreecommitdiff
path: root/lisp/progmodes/delphi.el
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2007-10-18 16:01:02 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2007-10-18 16:01:02 +0000
commit8cd670fbef6c7d8c6dbb592a6c4c21cad3e8adcc (patch)
tree0a5b0d2a9668efecb86a118b7c2ead006da5207f /lisp/progmodes/delphi.el
parente82a724f613fbad7217097c5f999b0d0fbcfc297 (diff)
downloademacs-8cd670fbef6c7d8c6dbb592a6c4c21cad3e8adcc.tar.gz
emacs-8cd670fbef6c7d8c6dbb592a6c4c21cad3e8adcc.tar.bz2
emacs-8cd670fbef6c7d8c6dbb592a6c4c21cad3e8adcc.zip
(delphi-newline): Use forward-line.
Diffstat (limited to 'lisp/progmodes/delphi.el')
-rw-r--r--lisp/progmodes/delphi.el2
1 files changed, 1 insertions, 1 deletions
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)))