aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/delphi.el
diff options
context:
space:
mode:
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 4ebbc54969..8d3ee55402 100644
--- a/lisp/progmodes/delphi.el
+++ b/lisp/progmodes/delphi.el
@@ -1530,7 +1530,7 @@ before the indent, the point is moved to the indent."
(save-selected-window
(switch-to-buffer-other-window to-buffer)
(goto-char (point-max))
- (set-window-dot (get-buffer-window to-buffer) (point))
+ (set-window-point (get-buffer-window to-buffer) (point))
(insert the-msg))))
;; Debugging helpers: