summaryrefslogtreecommitdiff
path: root/spinner.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-03-07 19:43:24 -0300
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-03-07 19:43:24 -0300
commit9136c93cbe44ed15df4c51a1f9310ebea512dcfe (patch)
tree9277b0f88cb390be0dd18b4e38d5238cca6455f9 /spinner.el
parent0e690619e2b0260c81f65cd7840d43205854aa83 (diff)
Readme
Diffstat (limited to 'spinner.el')
-rw-r--r--spinner.el26
1 files changed, 24 insertions, 2 deletions
diff --git a/spinner.el b/spinner.el
index 4297b24..06b0d83 100644
--- a/spinner.el
+++ b/spinner.el
@@ -20,8 +20,30 @@
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
-
-;; Run `(spinner-start)' to see the effect.
+;; 1 Usage
+;; ═══════
+;;
+;; 1. Add `(spinner "1.0")' to your package’s dependencies.
+;;
+;; 2. Call `(spinner-start)' and a spinner will be added to the
+;; mode-line.
+;;
+;; 3. Call `(spinner-stop)' on the same buffer when you want to remove
+;; it.
+;;
+;;
+;; 2 Behavior
+;; ══════════
+;;
+;; The default spinner is a line drawing that rotates. You can pass an
+;; argument to `spinner-start' to specify which spinner you want. All
+;; possibilities are listed in the `spinner-types' variable, but here are
+;; a few examples for you to try:
+;;
+;; • `(spinner-start 'vertical-breathing 10)'
+;; • `(spinner-start 'minibox)'
+;; • `(spinner-start 'moon)'
+;; • `(spinner-start 'triangle)'
;;; Code: