[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 94a7b0f 140/272: * ivy.el (ivy-format-function-line): Remo

From: Oleh Krehel
Subject: [elpa] master 94a7b0f 140/272: * ivy.el (ivy-format-function-line): Remove `extra' parameter.
Date: Mon, 25 Apr 2016 10:13:22 +0000

branch: master
commit 94a7b0fdac088e53d91f88ff35c0bb4cca4a92de
Author: Stephen Whipple <address@hidden>
Commit: Stephen Whipple <address@hidden>

    * 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."
-   (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"))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]