aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.dev>2026-02-28 10:43:24 +0200
committerBozhidar Batsov <bozhidar@batsov.dev>2026-02-28 10:51:37 +0200
commit7419a9ee5013f559886c52e1773d70aa0423ffed (patch)
treec4a9602a6dca401b2943dd756fa7da3a11fbbbb8
parent1a0c271589259ec7dcb4ed3c62c3c29840921f40 (diff)
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.
-rw-r--r--projectile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/projectile.el b/projectile.el
index dfff970..3a83b97 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