Variable: consult-preview-allowed-hooks

consult-preview-allowed-hooks is a customizable variable defined in consult.el.

Value

(global-font-lock-mode save-place-find-file-hook)

Documentation

List of hooks, which should be executed during file preview.

This variable applies to find-file-hook, change-major-mode-hook and mode hooks, e.g., prog-mode-hook.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defcustom consult-preview-allowed-hooks
  '(global-font-lock-mode
    save-place-find-file-hook)
  "List of hooks, which should be executed during file preview.
This variable applies to `find-file-hook', `change-major-mode-hook' and
mode hooks, e.g., `prog-mode-hook'."
  :type '(repeat symbol))