branch: externals/ivy
commit fb9822e658a0029e79ff143960b2cc3539729273
Author: Basil L. Contovounesios <[email protected]>
Commit: Basil L. Contovounesios <[email protected]>
; * ivy.el (ivy--pulse-region): Mention pulse.el.
---
ivy.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ivy.el b/ivy.el
index efe565a965..e27a475458 100644
--- a/ivy.el
+++ b/ivy.el
@@ -4974,6 +4974,11 @@ When nil, disable highlighting."
(number :tag "Delay in seconds")
(const :tag "Disable" nil)))
+;; TODO: Could use `pulse-momentary-highlight-region' but Emacs 24.5
+;; runs into `https://bugs.gnu.org/47437' since `ivy-yanked-word'
+;; lacks an explicit :background by default. So either Emacs 24
+;; support or `ivy-yanked-word' would need to be dropped.
+;; Also, the `pulse' library does not merge adjacent pulses.
(defun ivy--pulse-region (start end)
"Temporarily highlight text between START and END.
The \"pulse\" duration is determined by `ivy-pulse-delay'."