branch: externals/consult commit 2643235a853d55805822239bb2cd75a7aabef48d Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
consult-preview-excluded-files: Do not preview gpg files --- consult.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/consult.el b/consult.el index e0c82d8337..310b523b5e 100644 --- a/consult.el +++ b/consult.el @@ -358,7 +358,8 @@ function `buffer-match-p'." :type 'sexp) (defcustom consult-preview-excluded-files - '("\\`/[^/|:]+:") ;; Do not preview remote files + ;; Do not preview remote and gpg files + '("\\`/[^/|:]+:" "\\.gpg\\'") "List of regexps matched against names of files, which are not previewed." :type '(repeat regexp))