summaryrefslogtreecommitdiff
path: root/mu4e
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2025-09-01 08:23:04 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2025-09-01 09:23:25 +0300
commitc9537ab8914d33f77eb554b5806bbe08e2775118 (patch)
treed7d1e4f312badba4df16d7e08842a75b1117843b /mu4e
parent6d0a9f4c146ffcd173d45c4eecc1420eb141c9c0 (diff)
mu4e-search: improve label auto-completion
Diffstat (limited to 'mu4e')
-rw-r--r--mu4e/mu4e-search.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/mu4e/mu4e-search.el b/mu4e/mu4e-search.el
index d9270c5..3ef3c38 100644
--- a/mu4e/mu4e-search.el
+++ b/mu4e/mu4e-search.el
@@ -447,7 +447,7 @@ status, STATUS."
(list (match-beginning 1)
(match-end 1)
mu4e--lists-hash))
- ((looking-back (concat "label:\\(" mu4e-label-regex "\\)") nil)
+ ((looking-back (concat "label:\\(\\(" mu4e-label-regex "\\)?\\)") nil)
(list (match-beginning 1)
(match-end 1)
mu4e-labels-list))))