branch: externals/ivy-hydra
commit 3915890703b1da84d3a0fc911f930502df2ff27e
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy.el (ivy-format-function-line): Add doc about :extend t
Fixes #2412
---
ivy.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ivy.el b/ivy.el
index 9a2c911..43c24c8 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3980,7 +3980,9 @@ and SEPARATOR is used to join them."
"\n"))
(defun ivy-format-function-line (cands)
- "Transform CANDS into a string for minibuffer."
+ "Transform CANDS into a string for minibuffer.
+Note that since Emacs 27, `ivy-current-match' needs to have :extend t
attribute.
+It has it by default, but the current theme also needs to set it."
(ivy--format-function-generic
(lambda (str)
(ivy--add-face (concat str "\n") 'ivy-current-match))