aboutsummaryrefslogtreecommitdiff
path: root/emacs/notmuch.el
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2024-08-10 14:36:20 -0300
committerDavid Bremner <david@tethera.net>2025-03-13 07:18:07 -0300
commitb5ba3ff5ef9c2f39326883eff745108537aef89c (patch)
tree78ddb410b7c3efb8f0b223b377994371ae812190 /emacs/notmuch.el
parente056e172706d825700f32733f1a664ee58144aa5 (diff)
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.
Diffstat (limited to 'emacs/notmuch.el')
-rw-r--r--emacs/notmuch.el5
1 files changed, 5 insertions, 0 deletions
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)