mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
Emacs: Display a message when generating address completion candidates
The TAB-initiated address completion generates completion candidates synchronously, blocking the UI. Since this can take long time, it is better to let the use know what's happening.
This commit is contained in:
parent
9d25c97d8b
commit
2a0a13a433
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ to know how address selection is made by default."
|
|||
(point)))
|
||||
(orig (buffer-substring-no-properties beg end))
|
||||
(completion-ignore-case t)
|
||||
(options (notmuch-address-options orig))
|
||||
(options (with-temp-message "Looking for completion candidates..."
|
||||
(notmuch-address-options orig)))
|
||||
(num-options (length options))
|
||||
(chosen (cond
|
||||
((eq num-options 0)
|
||||
|
|
Loading…
Reference in a new issue