[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 242ae95 148/348: ivy.el (ivy--reset-state): Fix read-only
From: |
Oleh Krehel |
Subject: |
[elpa] master 242ae95 148/348: ivy.el (ivy--reset-state): Fix read-only collection member |
Date: |
Sat, 8 Apr 2017 11:03:45 -0400 (EDT) |
branch: master
commit 242ae95b9590073861263a55817ce36b8a09884d
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
ivy.el (ivy--reset-state): Fix read-only collection member
Fixes #626
---
ivy.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/ivy.el b/ivy.el
index ed17333..a3782a9 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1546,9 +1546,11 @@ This is useful for recursive `ivy-read'."
sort-fn))))
(setq coll (all-completions "" collection predicate)))
(let ((i 0))
- (dolist (cm coll)
- (add-text-properties 0 1 `(idx ,i) cm)
- (cl-incf i))))
+ (ignore-errors
+ ;; cm can be read-only
+ (dolist (cm coll)
+ (add-text-properties 0 1 `(idx ,i) cm)
+ (cl-incf i)))))
((or (functionp collection)
(byte-code-function-p collection)
(vectorp collection)
- [elpa] master 46a5346 121/348: counsel.el (counsel-file-jump): Skip ".git/", (continued)
- [elpa] master 46a5346 121/348: counsel.el (counsel-file-jump): Skip ".git/", Oleh Krehel, 2017/04/08
- [elpa] master 3c20b2c 126/348: counsel.el (counsel-git-grep): Fix prompt, Oleh Krehel, 2017/04/08
- [elpa] master fe92b1b 133/348: ivy.el: Fix the "C-m" not working for last commit, Oleh Krehel, 2017/04/08
- [elpa] master 230ae1a 132/348: Implement unique index for alist completion, Oleh Krehel, 2017/04/08
- [elpa] master 413bf7f 135/348: ivy.el: Prevent region expanding to prompt, Oleh Krehel, 2017/04/08
- [elpa] master b49ed2f 140/348: ivy.el (ivy--reset-state): Add stringp preselect guard, Oleh Krehel, 2017/04/08
- [elpa] master a2ed614 138/348: ivy.el (ivy-occur-mode-map): Make "RET" switch window, Oleh Krehel, 2017/04/08
- [elpa] master 80db2cc 142/348: ivy-test.el (ivy-read-preselect): New test, Oleh Krehel, 2017/04/08
- [elpa] master 61c2b12 125/348: counsel-git-grep now supports custom per-project commands, Oleh Krehel, 2017/04/08
- [elpa] master 434ccce 150/348: swiper.el (swiper-font-lock-exclude): Add bookmark-bmenu-mode, Oleh Krehel, 2017/04/08
- [elpa] master 242ae95 148/348: ivy.el (ivy--reset-state): Fix read-only collection member,
Oleh Krehel <=
- [elpa] master a99c125 161/348: counsel.el (counsel-grep): Specify :re-builder, Oleh Krehel, 2017/04/08
- [elpa] master 4e6145c 168/348: counsel.el (counsel-yank-pop-separator): New defcustom, Oleh Krehel, 2017/04/08
- [elpa] master b73264e 163/348: counsel.el (counsel-git-log-cmd): New defvar, Oleh Krehel, 2017/04/08
- [elpa] master 7457d1e 169/348: Add leading zeros to the hex representation to counsel-unicode-char, Oleh Krehel, 2017/04/08
- [elpa] master 8983f9d 167/348: counsel.el (counsel-recentf): Turn on recentf, Oleh Krehel, 2017/04/08
- [elpa] master 6961df6 166/348: doc/ivy.org: Replace swiper with counsel (MELPA), Oleh Krehel, 2017/04/08
- [elpa] master 3656dfe 171/348: ivy.el (ivy-exit-with-action): Remove with-ivy-window, Oleh Krehel, 2017/04/08
- [elpa] master 4c3ecb4 157/348: Restore window position after using swiper., Oleh Krehel, 2017/04/08
- [elpa] master 94f3368 160/348: Extract ivy--flx-propertize from ivy--flx-sort, Oleh Krehel, 2017/04/08
- [elpa] master 6b574e4 173/348: ivy.el (ivy-call): expand-file-name, Oleh Krehel, 2017/04/08