diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-03-07 19:43:24 -0300 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-03-07 19:43:24 -0300 |
commit | 9136c93cbe44ed15df4c51a1f9310ebea512dcfe (patch) | |
tree | 9277b0f88cb390be0dd18b4e38d5238cca6455f9 /spinner.el | |
parent | 0e690619e2b0260c81f65cd7840d43205854aa83 (diff) |
Readme
Diffstat (limited to 'spinner.el')
-rw-r--r-- | spinner.el | 26 |
1 files changed, 24 insertions, 2 deletions
@@ -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: |