Skip to content

Commit 2fa3fe1

Browse files
Call goto-char in the inferior buffer when starting Stata (#6)
1 parent 40f5a50 commit 2fa3fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ess-stata-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ This function is placed in `ess-presend-filter-functions'."
157157
(ess-send-string inf-proc "q")
158158
(ess-wait-for-process inf-proc t))
159159
(ess-send-string inf-proc "set more off")
160-
(goto-char (point-max))
161160
(with-current-buffer inf-buf
161+
(goto-char (point-max))
162162
(add-hook 'ess-presend-filter-functions 'ess-sta-remove-comments nil 'local)
163163
(run-mode-hooks 'ess-stata-post-run-hook))
164164
inf-buf))

0 commit comments

Comments
 (0)