Skip to content

Commit

Permalink
prevent cross project inferior shell when 1 process exists
Browse files Browse the repository at this point in the history
  • Loading branch information
tpeacock19 committed Feb 24, 2022
1 parent 12f0319 commit 84bb98f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lisp/ess-inf.el
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,10 @@ to `ess-completing-read'."
(if (or auto-started?
(and (not ask-if-1)
(= 1 num-processes)
(unless (equal (plist-get (ess-r-project-info) :name)
(plist-get (buffer-local-value
'ess-r-project--info-cache
(get-buffer (car proc-buffers))) :name)))
(message "Using process `%s'" (car proc-buffers))))
(car pname-list)
(unless (and ess-current-process-name
Expand Down

0 comments on commit 84bb98f

Please sign in to comment.