]> code.delx.au - gnu-emacs-elpa/commitdiff
ivy.el (ivy-format-function-default): Fix boundp bug
authorOleh Krehel <ohwoeowho@gmail.com>
Sat, 12 Sep 2015 14:52:51 +0000 (16:52 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Sat, 12 Sep 2015 14:52:51 +0000 (16:52 +0200)
Fixes #225

ivy.el

diff --git a/ivy.el b/ivy.el
index 30a454226c57bf11c98bd21be3ca61084f0040b3..0492807e993c183abaacb75dbb9263610f06b3b3 100644 (file)
--- 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)