branch: elpa/evil-goggles
commit bc318ad4b7711837c21405d49a0ce4097f3a70a9
Author: Evgeni Kolev <[email protected]>
Commit: Evgeni Kolev <[email protected]>
`require` pulse, rather than create an autoload for one of its functions
---
evil-goggles.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/evil-goggles.el b/evil-goggles.el
index 68c315d002..f8f1b0644a 100644
--- a/evil-goggles.el
+++ b/evil-goggles.el
@@ -46,6 +46,7 @@
;;; Code:
(require 'evil)
+(require 'pulse)
(defcustom evil-goggles-duration 0.200
"Time in floating seconds the goggles hint should last.
@@ -103,8 +104,6 @@ This is needed because the pulse package expects to receive
a face, it
can't work with input such as (backgound . \"red\")."
:group 'evil-goggles)
-(autoload 'pulse-momentary-highlight-overlay "pulse")
-
(defun evil-goggles--pulse-p ()
"Return whether to pulse or not, depending on variable `evil-goggles-pulse'."
(if (functionp evil-goggles-pulse)