Function: ghostel

ghostel is an interactive and natively compiled function defined in ghostel.el.

Signature

(ghostel &optional ARG)

Documentation

Start a new Ghostel terminal. If the buffer already exists, switch to it.

With a non-numeric prefix arg, create a new buffer. With a numeric prefix ARG, switch to the buffer with that number or create it if it doesn't exist yet. The name of the buffer is determined by the value of ghostel-buffer-name. Returns the buffer.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
;;;###autoload
(defun ghostel (&optional arg)
  "Start a new Ghostel terminal.  If the buffer already exists, switch to it.
With a non-numeric prefix arg, create a new buffer.
With a numeric prefix ARG, switch to the buffer with that number or
create it if it doesn't exist yet.
The name of the buffer is determined by the value of `ghostel-buffer-name'.
Returns the buffer."
  (interactive "P")
  ;; The configured name is part of the plain-terminal slot key, so
  ;; wrappers that let-bind `ghostel-buffer-name' get their own slots.
  (ghostel--start `((kind . term) (name . ,ghostel-buffer-name))
                  ghostel-buffer-name arg))