Function: projectile--eat
projectile--eat is a byte-compiled function defined in projectile.el.
Signature
(projectile--eat &optional NEW-PROCESS OTHER-WINDOW)
Documentation
Invoke eat in the project's root.
Use argument NEW-PROCESS to indicate creation of a new process instead. Use argument OTHER-WINDOW to indicate whether the buffer should be displayed in a different window.
Switch to the project specific eat buffer if it already exists.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile--eat (&optional new-process other-window)
"Invoke `eat' in the project's root.
Use argument NEW-PROCESS to indicate creation of a new process instead.
Use argument OTHER-WINDOW to indicate whether the buffer should
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" new-process project)))
(unless (require 'eat nil 'noerror)
(error "Package 'eat' is not available"))
(projectile-with-default-dir project
(if other-window
(eat-other-window nil new-process)
(eat nil new-process)))))