From 66fa9daa53afd76553a2a8ffa212e70c5350dbd8 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Sun, 10 May 2015 00:33:51 -0400 Subject: [PATCH] Call (spray-quit) instead of (spray-mode -1) This make it easier to advice spray when it quits --- spray.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.30.2