[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 7410d2d 29/54: ivy.el (ivy-format-function-default): Handl
From: |
Oleh Krehel |
Subject: |
[elpa] master 7410d2d 29/54: ivy.el (ivy-format-function-default): Handle fringe-mode 0 |
Date: |
Tue, 29 Sep 2015 14:09:57 +0000 |
branch: master
commit 7410d2d03a916e17308b3104a8e53108389762fc
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
ivy.el (ivy-format-function-default): Handle fringe-mode 0
Fixes #219
---
ivy.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ivy.el b/ivy.el
index 5574cd4..2b36d2a 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1500,7 +1500,8 @@ This string will be inserted into the minibuffer.")
(defun ivy-format-function-default (cands)
"Transform CANDS into a string for minibuffer."
- (let ((ww (window-width)))
+ (let ((ww (- (window-width)
+ (if (eq fringe-mode 0) 1 0))))
(mapconcat
(lambda (s)
(if (> (length s) ww)
- [elpa] master ba49407 53/54: counsel.el (counsel-ag-function): Improve for fancy faces, (continued)
- [elpa] master ba49407 53/54: counsel.el (counsel-ag-function): Improve for fancy faces, Oleh Krehel, 2015/10/07
- [elpa] master 00d8f08 12/54: counsel.el (counsel-org-tag): Now works in agenda, Oleh Krehel, 2015/10/07
- [elpa] master 860e276 13/54: Add swiper-multi command, Oleh Krehel, 2015/10/07
- [elpa] master 5269b79 07/54: When initial input contains a plus, escape it, Oleh Krehel, 2015/10/07
- [elpa] master 59908cd 20/54: Make ivy-current blend correctly for fancy minibuffer, Oleh Krehel, 2015/10/07
- [elpa] master 5eac62d 26/54: Move swiper-minibuffer-faces to ivy.el, Oleh Krehel, 2015/10/07
- [elpa] master d374afe 31/54: Set truncate-lines in the minibuffer, Oleh Krehel, 2015/10/07
- [elpa] master a57ac0c 28/54: counsel.el (counsel-unicode-char): Add own history, Oleh Krehel, 2015/10/07
- [elpa] master 1319301 35/54: counsel.el (counsel-yank-pop-truncate): Add group, Oleh Krehel, 2015/10/07
- [elpa] master c4d33d3 36/54: ivy.el (ivy-format-function-default): Fix boundp bug, Oleh Krehel, 2015/10/07
- [elpa] master 7410d2d 29/54: ivy.el (ivy-format-function-default): Handle fringe-mode 0,
Oleh Krehel <=
- [elpa] master a019441 41/54: Add autoloads to some important functions, Oleh Krehel, 2015/10/07
- [elpa] master ce33972 37/54: counsel.el (counsel-yank-pop): Add autoload, Oleh Krehel, 2015/10/07
- [elpa] master 9679bd7 46/54: swiper.el (swiper--ivy): Remove obsolete version check, Oleh Krehel, 2015/10/07