[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master e072e96 83/90: swiper.el (swiper-history): New defvar
From: |
Oleh Krehel |
Subject: |
[elpa] master e072e96 83/90: swiper.el (swiper-history): New defvar |
Date: |
Tue, 30 Jun 2015 07:29:30 +0000 |
branch: master
commit e072e96be298f9d097580f14589e91eaef8992f8
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
swiper.el (swiper-history): New defvar
* swiper.el (swiper--ivy): Use `swiper-history'.
Allows to get more use of "M-p", "M-n" and "C-r".
---
swiper.el | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/swiper.el b/swiper.el
index 596d4ae..9ce5864 100644
--- a/swiper.el
+++ b/swiper.el
@@ -223,6 +223,9 @@ there have line numbers. In the buffer, `ivy--regex' should
be used."
(t
(ivy--regex-plus str))))
+(defvar swiper-history nil
+ "History for `swiper'.")
+
(defun swiper--ivy (&optional initial-input)
"`isearch' with an overview using `ivy'.
When non-nil, INITIAL-INPUT is the initial search pattern."
@@ -250,7 +253,8 @@ Please remove it and update the \"swiper\" package."))
:require-match t
:update-fn #'swiper--update-input-ivy
:unwind #'swiper--cleanup
- :re-builder #'swiper--re-builder))
+ :re-builder #'swiper--re-builder
+ :history 'swiper-history))
(if (null ivy-exit)
(goto-char swiper--opoint)
(swiper--action res ivy-text)))))
- [elpa] master 5c09439 75/90: Re-scale the text height to default in the minibuffer, (continued)
- [elpa] master 5c09439 75/90: Re-scale the text height to default in the minibuffer, Oleh Krehel, 2015/06/30
- [elpa] master 321f277 76/90: Fix color blending for composite faces, Oleh Krehel, 2015/06/30
- [elpa] master b12e30c 77/90: Fix last commit being incompatible with older Emacs, Oleh Krehel, 2015/06/30
- [elpa] master 337a1d0 73/90: ivy.el (ivy-initial-inputs-alist): Add some Org commands, Oleh Krehel, 2015/06/30
- [elpa] master d921875 79/90: counsel.el (counsel-load-theme): New command, Oleh Krehel, 2015/06/30
- [elpa] master 017e007 78/90: counsel.el (counsel-M-x): Avoid compilation warning, Oleh Krehel, 2015/06/30
- [elpa] master 64b76c3 81/90: Fixup compilation warnings related to smex, Oleh Krehel, 2015/06/30
- [elpa] master 225e5aa 82/90: Allow to recursively match history with "C-r", Oleh Krehel, 2015/06/30
- [elpa] master dcd0c50 80/90: counsel.el (counsel-unicode-char): Use action-style call, Oleh Krehel, 2015/06/30
- [elpa] master a287f39 84/90: counsel.el (counsel-git-grep-history): New defvar, Oleh Krehel, 2015/06/30
- [elpa] master e072e96 83/90: swiper.el (swiper-history): New defvar,
Oleh Krehel <=
- [elpa] master be80798 86/90: Fix the initial input bug introduced with "C-r", Oleh Krehel, 2015/06/30
- [elpa] master 5036f23 87/90: Make counsel-el work with "C-M-n" and "C-M-p", Oleh Krehel, 2015/06/30
- [elpa] master c33bb2d 88/90: ivy-hydra.el (hydra-ivy): Bind "C-o" to be a toggle, Oleh Krehel, 2015/06/30
- [elpa] master e953099 89/90: Make counsel-locate use a process, Oleh Krehel, 2015/06/30
- [elpa] master e503688 85/90: counsel.el (counsel-find-file): Use `file-name-history', Oleh Krehel, 2015/06/30
- [elpa] master 55e0188 90/90: Merge commit 'e9530990914c1d81889269b4a8365b8003625557' from swiper, Oleh Krehel, 2015/06/30