Function: projectile--ghostel

projectile--ghostel is a byte-compiled function defined in projectile.el.

Signature

(projectile--ghostel &optional NEW-PROCESS OTHER-WINDOW)

Documentation

Invoke ghostel 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 ghostel buffer if it already exists.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--ghostel (&optional new-process other-window)
  "Invoke `ghostel' 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 ghostel buffer if it already exists."
  (unless (require 'ghostel nil 'noerror)
    (user-error "Package 'ghostel' is not available"))
  (let* ((project (projectile-acquire-root))
         (ghostel-buffer-name
          (projectile-generate-process-name "ghostel" new-process project))
         (display-buffer-overriding-action
          (and other-window '((display-buffer-pop-up-window)))))
    (projectile-with-default-dir project
      (ghostel))))