From: David Bremner Date: Sat, 10 Aug 2024 17:36:20 +0000 (-0300) Subject: emacs: add defcustom to control hl-line mode X-Git-Tag: archive/debian/0.39_rc3-1~10 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=b5ba3ff5ef9c2f39326883eff745108537aef89c;p=notmuch 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. --- 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)