summaryrefslogtreecommitdiffhomepage
path: root/lib/net
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-03-24 04:44:50 +0000
committerjao <jao@gnu.org>2022-03-24 04:44:50 +0000
commit57c931717dd9d446f2fd470f8aee06862c7cf67b (patch)
treef40d577e0b9f2d67e9d8b7677895d9eee6c56227 /lib/net
parentf2ec2fb24bf8f76f9ea63f486461c39b3cf0e661 (diff)
downloadelibs-57c931717dd9d446f2fd470f8aee06862c7cf67b.tar.gz
elibs-57c931717dd9d446f2fd470f8aee06862c7cf67b.tar.bz2
consult-notmuch in gnus: previews
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/jao-notmuch-gnus.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/net/jao-notmuch-gnus.el b/lib/net/jao-notmuch-gnus.el
index b6fafcd..79c8af3 100644
--- a/lib/net/jao-notmuch-gnus.el
+++ b/lib/net/jao-notmuch-gnus.el
@@ -199,7 +199,9 @@ Example:
(defun jao-gnus-consult-notmuch ()
"Run a consult-notmuch query that opens candidates in Gnus."
(interactive)
- (jao-notmuch-gnus--open-candidate (consult-notmuch--search))))
+ (jao-notmuch-gnus--open-candidate (consult-notmuch--search)))
+
+ (consult-customize jao-gnus-consult-notmuch :preview-key 'any))
(provide 'jao-notmuch-gnus)
;;; jao-notmuch-gnus.el ends here