[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master a891df3 264/272: swiper.el (swiper--multi-candidates): Add
From: |
Oleh Krehel |
Subject: |
[elpa] master a891df3 264/272: swiper.el (swiper--multi-candidates): Add check |
Date: |
Mon, 25 Apr 2016 10:13:29 +0000 |
branch: master
commit a891df30dc238a3a8943cb0b98647f69b71c034c
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
swiper.el (swiper--multi-candidates): Add check
Avoid calling `make-string' with a negative number.
Fixes #481
---
swiper.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/swiper.el b/swiper.el
index 349c3d4..2d4da5e 100644
--- a/swiper.el
+++ b/swiper.el
@@ -677,7 +677,8 @@ Run `swiper' for those buffers."
(1- len) len 'display
(concat
(make-string
- (- ww (string-width s) (length (buffer-name)) 3)
+ (max 0
+ (- ww (string-width s) (length (buffer-name)) 3))
?\ )
(buffer-name))
s)
- [elpa] master d45ee54 258/272: Make the slash more magic during file name completion, (continued)
- [elpa] master d45ee54 258/272: Make the slash more magic during file name completion, Oleh Krehel, 2016/04/25
- [elpa] master ea79f0e 135/272: New API function ivy-set-display-transformer, Oleh Krehel, 2016/04/25
- [elpa] master b2d2b82 209/272: counsel.el (counsel-grep-action): Improve cleanup, Oleh Krehel, 2016/04/25
- [elpa] master 8c4f595 233/272: Fix remapping commit c9b6e0, Oleh Krehel, 2016/04/25
- [elpa] master 6fae6e0 259/272: counsel.el (counsel-grep-or-swiper): Use swiper when narrowed, Oleh Krehel, 2016/04/25
- [elpa] master 1b4e819 218/272: ivy.el (ivy-next-history-element): Simplify, Oleh Krehel, 2016/04/25
- [elpa] master b5a9dc5 255/272: ivy.el (ivy--reset-state): file-directory-p needs a string, Oleh Krehel, 2016/04/25
- [elpa] master 6fc36b5 210/272: option to add newline after ivy-read prompt, Oleh Krehel, 2016/04/25
- [elpa] master 9899547 235/272: ivy.el (ivy-action): New face, Oleh Krehel, 2016/04/25
- [elpa] master 63b96a1 250/272: Fix counsel-grep-last-line bug, Oleh Krehel, 2016/04/25
- [elpa] master a891df3 264/272: swiper.el (swiper--multi-candidates): Add check,
Oleh Krehel <=
- [elpa] master 5ce2623 223/272: counsel.el (counsel-git): Add "j" action, Oleh Krehel, 2016/04/25
- [elpa] master ee27e27 161/272: ivy.el (ivy-occur-revert-buffer): Move code to swiper-occur, Oleh Krehel, 2016/04/25
- [elpa] master 3dcb07d 237/272: Allow to customize the action hint formatter, Oleh Krehel, 2016/04/25
- [elpa] master 39a458e 272/272: Merge commit 'db005182ad0fd05c07e8e5c085abe6c750e6c578' from ivy, Oleh Krehel, 2016/04/25