]> code.delx.au - gnu-emacs-elpa/commitdiff
Update the mode-line after spinner-stop
authorArtur Malabarba <bruce.connor.am@gmail.com>
Sun, 7 Feb 2016 01:06:18 +0000 (01:06 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Sun, 7 Feb 2016 01:06:18 +0000 (01:06 +0000)
packages/spinner/spinner.el

index 12fafe63006554551fd8aadd8b8168c2f1c17fb1..ec0a64f108e30541d39abd805df31dc4cf229564 100644 (file)
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2015 Free Software Foundation, Inc.
 
 ;; Author: Artur Malabarba <emacs@endlessparentheses.com>
-;; Version: 1.4
+;; Version: 1.5
 ;; URL: https://github.com/Malabarba/spinner.el
 ;; Keywords: processes mode-line
 
@@ -312,7 +312,8 @@ this time, in which case it won't display at all."
          (timer (spinner--timer spinner)))
     (when (timerp timer)
       (cancel-timer timer))
-    (setf (spinner--active-p spinner) nil)))
+    (setf (spinner--active-p spinner) nil)
+    (force-mode-line-update)))
 
 (provide 'spinner)