From: syl20bnr Date: Sun, 10 May 2015 04:33:51 +0000 (-0400) Subject: Call (spray-quit) instead of (spray-mode -1) X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=66fa9daa53afd76553a2a8ffa212e70c5350dbd8;p=spray Call (spray-quit) instead of (spray-mode -1) This make it easier to advice spray when it quits --- diff --git a/spray.el b/spray.el index 90cbdf3..8fa8bce 100644 --- a/spray.el +++ b/spray.el @@ -270,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)))