branch: master
commit 94a7b0fdac088e53d91f88ff35c0bb4cca4a92de
Author: Stephen Whipple <[email protected]>
Commit: Stephen Whipple <[email protected]>
* ivy.el (ivy-format-function-line): Remove `extra' parameter.
Remove `extra' parameter to match the expected arity.
---
ivy.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ivy.el b/ivy.el
index ec51e68..88d2dae 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2333,10 +2333,10 @@ SEPARATOR is used to join the candidates."
(defun ivy-format-function-line (cands)
"Transform CAND-PAIRS into a string for minibuffer."
(ivy--format-function-generic
- (lambda (str extra)
- (ivy--add-face (concat str extra "\n") 'ivy-current-match))
- (lambda (str extra)
- (concat str extra "\n"))
+ (lambda (str)
+ (ivy--add-face (concat str "\n") 'ivy-current-match))
+ (lambda (str)
+ (concat str "\n"))
cands
""))