Requiring pulse' fixes flash-line-around-point'

This commit is contained in:
Gerard Vermeulen 2024-06-13 08:40:10 +02:00
parent 7d6616a837
commit 08d2f6bf6d

View File

@ -5938,6 +5938,9 @@ point movements visually.
#+begin_src emacs-lisp -n :results silent
;; https://karthinks.com/software/batteries-included-with-emacs/
;; https://github.com/karthink/.emacs.d/blob/master/init.el#L2077
(require 'pulse) ; since `pulse' does not autoload `pulse-delay' and
; `pulse-iterations'.
(defun flash-line-around-point (&rest _)
"Flash the line around point."
(let ((pulse-iterations 16)