[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master f754835 47/67: swiper.el: Silence a few compilation warnin
From: |
Oleh Krehel |
Subject: |
[elpa] master f754835 47/67: swiper.el: Silence a few compilation warnings |
Date: |
Sun, 22 Mar 2015 17:34:06 +0000 |
branch: master
commit f754835623f73578734bc026193135459d14e5cb
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
swiper.el: Silence a few compilation warnings
---
swiper.el | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/swiper.el b/swiper.el
index e00aa1a..fc5dae2 100644
--- a/swiper.el
+++ b/swiper.el
@@ -176,6 +176,15 @@ When non-nil, INITIAL-INPUT is the initial search pattern."
(goto-char swiper--opoint)
(swiper--action res ivy-text)))))
+(defvar helm-candidate-number-limit)
+(defvar helm-display-function)
+(defvar helm-map)
+(defvar helm-input)
+(declare-function helm "ext:helm")
+(declare-function helm-persistent-action-display-window "ext:helm")
+(declare-function helm-window "ext:helm")
+(declare-function helm-next-line "ext:helm")
+
(defun swiper--helm (&optional initial-input)
"`isearch' with an overview using `helm'.
When non-nil, INITIAL-INPUT is the initial search pattern."
@@ -268,7 +277,7 @@ When non-nil, INITIAL-INPUT is the initial search pattern."
0)))
(with-selected-window swiper--window
(goto-char (point-min))
- (when (plusp num)
+ (when (cl-plusp num)
(goto-char (point-min))
(forward-line (1- num))
(isearch-range-invisible (line-beginning-position)
@@ -374,7 +383,7 @@ When non-nil, INITIAL-INPUT is the initial search pattern."
(defun swiper--reanchor ()
"Move to a valid match closest to `swiper--anchor'."
- (with-helm-window
+ (with-selected-window (helm-window)
(goto-char (point-min))
(if (re-search-forward (format "^%d " swiper--anchor) nil t)
nil
- [elpa] master 984346c 40/67: swiper.el (swiper-font-lock-ensure): Exclude a few modes, (continued)
- [elpa] master 984346c 40/67: swiper.el (swiper-font-lock-ensure): Exclude a few modes, Oleh Krehel, 2015/03/22
- [elpa] master cb26121 41/67: ivy.el: Fix ivy-history recording the full text instead of input, Oleh Krehel, 2015/03/22
- [elpa] master de80846 39/67: Work around magit highlighting problem, Oleh Krehel, 2015/03/22
- [elpa] master 7bb5320 42/67: swiper.el (swiper--helm): Require helm-match-plugin, Oleh Krehel, 2015/03/22
- [elpa] master caa69f2 43/67: counsel.el: Add git file completion, Oleh Krehel, 2015/03/22
- [elpa] master fcb18e5 44/67: ivy.el (ivy-read): Bring last history candidate to front, Oleh Krehel, 2015/03/22
- [elpa] master e32bc63 46/67: swiper.el: Fix non-matching lines issue with initial-input, Oleh Krehel, 2015/03/22
- [elpa] master f1672c7 45/67: Add isearch-like history behavior, Oleh Krehel, 2015/03/22
- [elpa] master 41732be 48/67: ivy.el: Return nil when there is no match, Oleh Krehel, 2015/03/22
- [elpa] master 588dab6 49/67: ivy-test.el: Add testing, Oleh Krehel, 2015/03/22
- [elpa] master f754835 47/67: swiper.el: Silence a few compilation warnings,
Oleh Krehel <=
- [elpa] master cc4bf75 52/67: README.md: Add build status, Oleh Krehel, 2015/03/22
- [elpa] master 2b8e4e1 53/67: ivy.el: Remove while-no-input, Oleh Krehel, 2015/03/22
- [elpa] master 2191bdb 54/67: ivy.el (ivy-completions): Simplify, Oleh Krehel, 2015/03/22
- [elpa] master d587fa2 51/67: ivy.el (ivy-read): Allow for format-style PROMPT, Oleh Krehel, 2015/03/22
- [elpa] master 9f9c4dc 57/67: swiper-helm.el: Fix typo, Oleh Krehel, 2015/03/22
- [elpa] master 3a08a88 50/67: ivy.el (ivy-read): Change index to preselect, Oleh Krehel, 2015/03/22
- [elpa] master d2b2813 55/67: swiper-helm.el: Copy all helm stuff here, Oleh Krehel, 2015/03/22
- [elpa] master c4acef9 56/67: swiper.el: Remove the helm bits, Oleh Krehel, 2015/03/22
- [elpa] master 0c85d9a 58/67: Add a custom `ivy-count-format', Oleh Krehel, 2015/03/22
- [elpa] master c2e58e9 59/67: Fix invalid package header line, Oleh Krehel, 2015/03/22