[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 841d59b 01/19: "C-s" should forward to "C-n" etc
From: |
Oleh Krehel |
Subject: |
[elpa] master 841d59b 01/19: "C-s" should forward to "C-n" etc |
Date: |
Thu, 16 Apr 2015 12:18:07 +0000 |
branch: master
commit 841d59b8aedb42d20b758a04a4236756ba5c9a62
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
"C-s" should forward to "C-n" etc
* ivy.el (ivy-next-line-or-history): Update.
(ivy-previous-line-or-history): Update.
---
ivy.el | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/ivy.el b/ivy.el
index 180f081..c6ec991 100644
--- a/ivy.el
+++ b/ivy.el
@@ -119,10 +119,7 @@ If the input is empty, select the previous history element
instead."
(interactive)
(when (string= ivy-text "")
(ivy-previous-history-element 1))
- (if (>= ivy--index (1- ivy--length))
- (when ivy-wrap
- (ivy-beginning-of-buffer))
- (cl-incf ivy--index)))
+ (ivy-next-line))
(defun ivy-previous-line ()
"Select the previous completion candidate."
@@ -138,10 +135,7 @@ If the input is empty, select the previous history element
instead."
(interactive)
(when (string= ivy-text "")
(ivy-previous-history-element 1))
- (if (zerop ivy--index)
- (when ivy-wrap
- (ivy-end-of-buffer))
- (cl-decf ivy--index)))
+ (ivy-previous-line))
(defun ivy-previous-history-element (arg)
"Forward to `previous-history-element' with ARG."
- [elpa] master updated (cf04c93 -> 22139ae), Oleh Krehel, 2015/04/16
- [elpa] master 0d619ea 10/19: counsel.el (couns-clj): Add with-no-warnings, Oleh Krehel, 2015/04/16
- [elpa] master 6dd560c 05/19: swiper.el (swiper-map): Bind "C-l" to recenter, Oleh Krehel, 2015/04/16
- [elpa] master 49321c0 06/19: Allow duplicate candidates in `ivy-read', Oleh Krehel, 2015/04/16
- [elpa] master f72a860 11/19: counsel.el: Fixup prefixes, Oleh Krehel, 2015/04/16
- [elpa] master 841d59b 01/19: "C-s" should forward to "C-n" etc,
Oleh Krehel <=
- [elpa] master 609577e 12/19: Fix invalid package header line, Oleh Krehel, 2015/04/16
- [elpa] master e816884 03/19: Default ARG to 1 for arrows, Oleh Krehel, 2015/04/16
- [elpa] master a8a1f65 02/19: Add numeric arguments to arrows, Oleh Krehel, 2015/04/16
- [elpa] master 0477214 08/19: Fix `ivy-backward-delete-char-function', Oleh Krehel, 2015/04/16
- [elpa] master 6dd1068 04/19: swiper.el (swiper-query-replace): Enable recursive minibuffers, Oleh Krehel, 2015/04/16
- [elpa] master 3b78e0e 18/19: swiper.el: Bump version, Oleh Krehel, 2015/04/16
- [elpa] master 22139ae 19/19: Merge commit '3b78e0e503f4763f8a2d77eeacfc91213ec5532e' from swiper, Oleh Krehel, 2015/04/16
- [elpa] master c59752b 16/19: Update sorting order, make sure that perfect match is selected, Oleh Krehel, 2015/04/16
- [elpa] master 75aa14d 17/19: Fix thing-at-point in describe-function and -variable, Oleh Krehel, 2015/04/16
- [elpa] master 6a098c6 15/19: Add ivy-mode, Oleh Krehel, 2015/04/16