Skip to content

Commit

Permalink
[Fix #1074] Display proc buffer when process is auto-started
Browse files Browse the repository at this point in the history
  • Loading branch information
vspinu committed Feb 7, 2021
1 parent 9629f05 commit 983c54b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lisp/ess-inf.el
Original file line number Diff line number Diff line change
Expand Up @@ -818,8 +818,11 @@ to `ess-completing-read'."
(ess--with-no-pop-to-buffer
(ess-start-process-specific ess-language ess-dialect))
(caar ess-process-name-list))))))
(unless noswitch
(pop-to-buffer (ess-get-process-buffer proc)))
(let ((proc-buff (ess-get-process-buffer proc)))
(when auto-started?
(display-buffer proc-buff))
(unless noswitch
(pop-to-buffer proc-buff)))
proc))

(defun ess-force-buffer-current (&optional prompt force no-autostart ask-if-1)
Expand Down

0 comments on commit 983c54b

Please sign in to comment.