branch: externals/ess commit fef059c3efd89bd45e75c2a74aaadbd6e2901f5b Author: Lionel Henry <lionel....@gmail.com> Commit: Lionel Henry <lionel....@gmail.com>
Wait for process after `ess-r-post-run-hook` --- lisp/ess-r-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ess-r-mode.el b/lisp/ess-r-mode.el index 70bfe2701e..16e5d1a02b 100644 --- a/lisp/ess-r-mode.el +++ b/lisp/ess-r-mode.el @@ -655,7 +655,8 @@ Executed in process buffer." (when ess-use-tracebug (ess-tracebug 1)) (add-hook 'ess-presend-filter-functions 'ess-R-scan-for-library-call nil 'local) - (run-hooks 'ess-r-post-run-hook)) + (run-hooks 'ess-r-post-run-hook) + (ess-wait-for-process)) (defun ess-r--skip-function () ;; Assumes the point is at function start