summaryrefslogtreecommitdiff
path: root/spinner.el
diff options
context:
space:
mode:
authorArtur Malabarba <artur@endlessparentheses.com>2021-07-01 18:18:25 -0300
committerGitHub <noreply@github.com>2021-07-01 18:18:25 -0300
commit3fa5fff758d4be482a2c1fed8a159a304be0f0d6 (patch)
treedb0cb76e16b828f403205933d060a15a759920f1 /spinner.el
parentb9170460118330f1e58e5bee1889ec859d7ee335 (diff)
parent6b8ea3295f1845bb38342abdff704f51c634dfa1 (diff)
Merge pull request #20 from tarsiiformes/typos
Fix typos
Diffstat (limited to 'spinner.el')
-rw-r--r--spinner.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/spinner.el b/spinner.el
index 9551a7b..d40563e 100644
--- a/spinner.el
+++ b/spinner.el
@@ -127,7 +127,7 @@ vector, the spinner itself.")
(defun spinner-make-progress-bar (width &optional char)
"Return a vector of strings of the given WIDTH.
The vector is a valid spinner type and is similar to the
-`progress-bar' spinner, except without the sorrounding brackets.
+`progress-bar' spinner, except without the surrounding brackets.
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 ?=))
@@ -136,7 +136,7 @@ CHAR is the character to use for the moving bar (defaults to =)."
(number-sequence (+ width 3) 0 -1)))))
(defvar spinner-current nil
- "Spinner curently being displayed on the `mode-line-process'.")
+ "Spinner currently being displayed on the `mode-line-process'.")
(make-variable-buffer-local 'spinner-current)
(defconst spinner--mode-line-construct
@@ -206,7 +206,7 @@ buffer, use that instead of current buffer.
When started, in order to function properly, the spinner runs a
timer which periodically calls `force-mode-line-update' in the
-curent buffer. If BUFFER-LOCAL was set at creation time, then
+current buffer. If BUFFER-LOCAL was set at creation time, then
`force-mode-line-update' is called in that buffer instead. When
the spinner is stopped, the timer is deactivated.