mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-26 07:00:35 -08:00
vc-dir-headers: Set a delayed message during vc--count-outgoing
* lisp/vc/vc-dir.el (vc-dir-headers): Set a delayed message during vc--count-outgoing.
This commit is contained in:
parent
459ecb3d26
commit
fab0bfc78f
1 changed files with 6 additions and 1 deletions
|
|
@ -1363,7 +1363,12 @@ specific headers."
|
|||
(vc-call-backend backend 'dir-extra-headers dir)
|
||||
"\n"
|
||||
(and-let* (vc-dir-show-outgoing-count
|
||||
(count (ignore-errors (vc--count-outgoing backend)))
|
||||
(count
|
||||
(ignore-errors
|
||||
(with-delayed-message
|
||||
(2 (substitute-quotes "Counting outgoing revisions ...
|
||||
(see `vc-dir-show-outgoing-count' if this is frequently slow)" ))
|
||||
(vc--count-outgoing backend))))
|
||||
(_ (plusp count)))
|
||||
(concat (propertize "Outgoing : "
|
||||
'face 'vc-dir-header)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue