Merge pull request #2161 from tsdh/re-enable-search-query-maildir-completion

Re-enable maildir completion in search query
This commit is contained in:
Dirk-Jan C. Binnema 2021-10-22 08:32:32 +03:00 committed by GitHub
commit 4adee3c1f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -412,10 +412,10 @@ either `future' or `past'."
(match-end 1)
'("attach" "draft" "flagged" "list" "new" "passed" "replied"
"seen" "trashed" "unread" "encrypted" "signed")))
;; ((looking-back "maildir:\\([a-zA-Z0-9/.]*\\)" nil)
;; (list (match-beginning 1)
;; (match-end 1)
;; (mu4e-get-maildirs)))
((looking-back "maildir:\\([a-zA-Z0-9/.]*\\)" nil)
(list (match-beginning 1)
(match-end 1)
(mu4e-get-maildirs)))
((looking-back "prio:\\(\\w*\\)" nil)
(list (match-beginning 1)
(match-end 1)