branch: master
commit c4d33d3c8ccc8255d93e7d36e6082a276bac7c80
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    ivy.el (ivy-format-function-default): Fix boundp bug
    
    Fixes #225
---
 ivy.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ivy.el b/ivy.el
index 30a4542..0492807 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1507,7 +1507,7 @@ This string will be inserted into the minibuffer.")
   (if (bound-and-true-p truncate-lines)
       (mapconcat #'identity cands "\n")
     (let ((ww (- (window-width)
-                 (if (and (boundp fringe-mode) (eq fringe-mode 0)) 1 0))))
+                 (if (and (boundp 'fringe-mode) (eq fringe-mode 0)) 1 0))))
       (mapconcat
        (lambda (s)
          (if (> (length s) ww)

Reply via email to