Call (spray-quit) instead of (spray-mode -1)
[spray] / spray.el
index a15274f0adb71f2688c785b5967656196ef58521..8fa8bce4ddfacf51be450481aabb8360936638c3 100644 (file)
--- a/spray.el
+++ b/spray.el
@@ -21,6 +21,7 @@
 ;; Created: 18 Jun 2014
 ;; Version: 0.0.2
 ;; URL: https://github.com/ian-kelling/spray
+;; Mailing list: https://lists.iankelling.org/listinfo/spray
 ;; Keywords: convenience
 
 ;;; Commentary:
@@ -269,7 +270,7 @@ decreasing by one for each subsequent word."
         (t
          (widen)
          (if (eobp)
-             (spray-mode -1)
+             (spray-quit)
            (when (not (zerop spray--first-words))
              (setq spray--initial-delay spray--first-words)
              (setq spray--first-words (1- spray--first-words)))