summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2016-03-03 10:25:18 -0300
committerArtur Malabarba <bruce.connor.am@gmail.com>2016-03-03 10:25:18 -0300
commita62dc3559148c7045aad5077a4a861ff26f93dfb (patch)
tree747c3e83fdacc71d95c6a918e3042fbc179271a5
parent4e04a983b86ee698ff417eae4646756daef434ba (diff)
Remove reference to thread-last
-rw-r--r--spinner.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/spinner.el b/spinner.el
index 63ead1e..a021848 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.7
+;; Version: 1.7.1
;; URL: https://github.com/Malabarba/spinner.el
;; Keywords: processes mode-line
@@ -131,9 +131,8 @@ CHAR is the character to use for the moving bar (defaults to =)."
(let ((whole-string (concat (make-string (1- width) ?\s)
(make-string 4 (or char ?=))
(make-string width ?\s))))
- (thread-last (mapcar (lambda (n) (substring whole-string n (+ n width)))
- (number-sequence (+ width 3) 0 -1))
- (apply #'vector))))
+ (apply #'vector (mapcar (lambda (n) (substring whole-string n (+ n width)))
+ (number-sequence (+ width 3) 0 -1)))))
(defvar spinner-current nil
"Spinner curently being displayed on the `mode-line-process'.")