From: Mohsin Kaleem <mohkale@kisara.moe>
Date: Fri, 19 Apr 2024 18:25:06 +0000 (+0100)
Subject: emacs: Allow customizing :excluded in notmuch-saved-searches
X-Git-Tag: archive/debian/0.39_rc0-1~42
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=e8e2d5247e44d9b402cbcc491b859cd9398f045d;p=notmuch

emacs: Allow customizing :excluded in notmuch-saved-searches

Provide customize support for the new feature introduced in
cd89065d.

Commit message expanded by: db
---

diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index b6d1e2ae..b3228d43 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -116,6 +116,12 @@ searches so they still work in customize."
 				    (const :tag "Default" nil)
 				    (const :tag "Oldest-first" oldest-first)
 				    (const :tag "Newest-first" newest-first)))
+		     (group :format "%v" :inline t
+			    (const :format "" :excluded)
+			    (choice :tag " Hide Excluded"
+				    (const :tag "Default" nil)
+				    (const :tag "Hide" hide)
+				    (const :tag "Show" show)))
 		     (group :format "%v" :inline t
 			    (const :format "" :search-type)
 			    (choice :tag " Search Type"