Variable: ghostel--readonly-exit-function

ghostel--readonly-exit-function is a buffer-local variable defined in ghostel.el.

Documentation

When non-nil, ghostel-readonly-exit calls this instead of the default restore.

The function is responsible for the full post-exit state (input mode, keymap, read-only flag, mode line, redraw). Set in compilation-style compile buffers, whose exit must restore the view keymap rather than a terminal input mode.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defvar-local ghostel--readonly-exit-function nil
  "When non-nil, `ghostel-readonly-exit' calls this instead of the default restore.
The function is responsible for the full post-exit state (input mode, keymap,
read-only flag, mode line, redraw).  Set in compilation-style compile buffers,
whose exit must restore the view keymap rather than a terminal input mode.")