From b5ba3ff5ef9c2f39326883eff745108537aef89c Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 10 Aug 2024 14:36:20 -0300 Subject: [PATCH] emacs: add defcustom to control hl-line mode Currently the presence of hl-line highlighting is controlled implicitely by hooks. In future commits it will be migrated to use this variable. --- emacs/notmuch.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 2a73ffa5..934ec894 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -133,6 +133,11 @@ there will be called at other points of notmuch execution." :group 'notmuch-search :group 'notmuch-hooks) +(defcustom notmuch-hl-line t + "Use hl-line-mode to highlight current thread / message" + :type 'boolean + :group 'notmuch) + ;;; Mime Utilities (defun notmuch-foreach-mime-part (function mm-handle) -- 2.45.2