summaryrefslogtreecommitdiff
path: root/spinner.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2016-02-07 01:04:01 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2016-02-07 01:04:12 +0000
commit7c3c0299cbdf3146fe60bba5536cdaf544244b01 (patch)
tree9e3dd7f8859d1a17dd3868838e4d09a3ad66390e /spinner.el
parent8d8c459d7757cf5774f11be9147d7a54f5f9bbd7 (diff)
Update the mode-line after spinner-stop
Diffstat (limited to 'spinner.el')
-rw-r--r--spinner.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/spinner.el b/spinner.el
index 12fafe6..ec0a64f 100644
--- a/spinner.el
+++ b/spinner.el
@@ -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)