branch: elpa/projectile
commit 7419a9ee5013f559886c52e1773d70aa0423ffed
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Pass new-process to buffer name generation in projectile--eat
    
    The new-process argument was ignored when generating the eat buffer
    name (hardcoded nil), so requesting a new process via prefix arg
    would always reuse the same buffer name. This matches the behavior
    already used in projectile--vterm.
---
 projectile.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projectile.el b/projectile.el
index dfff970b91..3a83b97b66 100644
--- a/projectile.el
+++ b/projectile.el
@@ -4829,7 +4829,7 @@ be displayed in a different window.
 
 Switch to the project specific eat buffer if it already exists."
   (let* ((project (projectile-acquire-root))
-         (eat-buffer-name (projectile-generate-process-name "eat" nil 
project)))
+         (eat-buffer-name (projectile-generate-process-name "eat" new-process 
project)))
     (unless (require 'eat nil 'noerror)
       (error "Package 'eat' is not available"))
     (projectile-with-default-dir project

Reply via email to