]> rtime.felk.cvut.cz Git - notmuch.git/commitdiff
emacs: Show a message when address harvesting finishes addr-completion
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 22 Sep 2014 06:09:11 +0000 (08:09 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 30 Jan 2015 21:02:00 +0000 (22:02 +0100)
emacs/notmuch-address.el

index 9f6711bb076c121c2613e751bef24710fc7d486a..da524f32b1ec121bbd483386c69378fc23aca606 100644 (file)
@@ -219,6 +219,8 @@ called when harvesting finishes."
       (setq notmuch-address-last-harvest now)
       (notmuch-address-harvest nil nil
                               (lambda (proc event)
+                                (message "Notmuch address harvesting finished in %d seconds"
+                                         (- (float-time) notmuch-address-last-harvest))
                                 (setq notmuch-address-full-harvest-finished t))))))
 
 ;;