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 /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/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))