Function: ghostel-previous-prompt

ghostel-previous-prompt is an interactive and natively compiled function defined in ghostel-shell.el.

Signature

(ghostel-previous-prompt &optional N)

Documentation

Move to the Nth previous prompt.

Enters the read-only mode picked by ghostel-prompt-navigation-input-mode.

Key Bindings

ghostel-mode-map C-c M-p ghostel-prompt-repeat-map M-p ghostel-prompt-repeat-map p

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-shell.el
(defun ghostel-previous-prompt (&optional n)
  "Move to the Nth previous prompt.
Enters the read-only mode picked by `ghostel-prompt-navigation-input-mode'."
  (interactive "p")
  (unless (memq ghostel--input-mode '(emacs copy))
    (ghostel--enter-readonly-input-mode ghostel-prompt-navigation-input-mode))
  (ghostel--navigate-previous-prompt n))