[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-hydra e2f1fe1 068/395: swiper.el (swiper--query-rep
From: |
Basil L. Contovounesios |
Subject: |
[elpa] externals/ivy-hydra e2f1fe1 068/395: swiper.el (swiper--query-replace-updatefn): Fix bug |
Date: |
Thu, 25 Feb 2021 08:31:33 -0500 (EST) |
branch: externals/ivy-hydra
commit e2f1fe15a02c513fd8c91d7d129182156e883930
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>
swiper.el (swiper--query-replace-updatefn): Fix bug
---
swiper.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/swiper.el b/swiper.el
index 21ddb8e..687e1e9 100644
--- a/swiper.el
+++ b/swiper.el
@@ -160,7 +160,7 @@ Treated as non-nil when searching backwards."
lisp
(set-match-data (overlay-get ov 'md))
(condition-case nil
- (with-current-buffer (nth 4 (overlay-get ov 'md))
+ (with-current-buffer (overlay-buffer ov)
(match-substitute-replacement ivy-text))
(error ivy-text)))
'face 'error)))))
@@ -172,7 +172,7 @@ Treated as non-nil when searching backwards."
(defun swiper--query-replace-setup ()
(with-ivy-window
(let ((end (window-end (selected-window) t))
- (re (ivy--regex ivy-text)))
+ (re ivy--old-re))
(save-excursion
(beginning-of-line)
(while (re-search-forward re end t)
@@ -200,7 +200,7 @@ Treated as non-nil when searching backwards."
(swiper--query-replace-setup)
(unwind-protect
(let* ((enable-recursive-minibuffers t)
- (from (ivy--regex ivy-text))
+ (from ivy--old-re)
(default
(format "\\,(concat %s)"
(if (<= ivy--subexps 1)
@@ -252,6 +252,7 @@ Treated as non-nil when searching backwards."
(goto-char (point-min))
(perform-replace from to t t nil)))
(set-window-configuration wnd-conf))))))))
+(put 'swiper-all-query-replace 'no-counsel-M-x t)
(defvar avy-all-windows)
(defvar avy-style)
- [elpa] externals/ivy-hydra c6f6f9a 005/395: ivy-overlay.el (ivy-overlay-show-after): Improve available-height calculation, (continued)
- [elpa] externals/ivy-hydra c6f6f9a 005/395: ivy-overlay.el (ivy-overlay-show-after): Improve available-height calculation, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra c8120fb 016/395: counsel.el (counsel-cd): Add counsel-delete-process, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1578f52 022/395: ivy.el: Autoload ivy-hydra-read-action, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra f73cd70 023/395: counsel.el (counsel--find-file-matcher): Use counsel-find-file-ignore-regexp, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra d837871 030/395: ivy.el (ivy-thing-at-point): Don't hang when pinging machine, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra aef2538 040/395: ivy-test.el (ivy--split): Add test, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra b603d89 045/395: counsel.el: Fix typos, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra e32f14d 067/395: targets/plain.el (ivy-use-virtual-buffers): Enable, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 529cc08 071/395: ivy-test.el (ivy-swiper-wgrep): Disable on 24.5, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1b3d0a3 072/395: ivy.el (ivy--split): Fix for "\\" input, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra e2f1fe1 068/395: swiper.el (swiper--query-replace-updatefn): Fix bug,
Basil L. Contovounesios <=
- [elpa] externals/ivy-hydra 4fbd5a9 081/395: ivy-test.el (ivy-completing-read): Add test, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 83f04c0 092/395: counsel.el (counsel-flycheck): Add, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 99c02cc 109/395: ivy.el (ivy-partial): Fix ivy-regex mistaken for ivy-text, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 93d925d 121/395: counsel.el (counsel-mark--get-candidates): Extract, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 3119994 144/395: ivy.el (ivy--tramp-prefix-p): Fix regression, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 82331ed 147/395: Revert "Don't hardcode C-s and C-r", Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 8386220 173/395: swiper.el (swiper-isearch): Save mark, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra c84bc31 164/395: ivy.el (ivy--magic-file-slash): Use "///" instead of "//" on Windows, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 7c0f16d 155/395: swiper.el (swiper--re-builder): Genaralize search-default-mode, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 40a7731 199/395: ivy.el (ivy-switch-buffer-transformer): Change how remote dirs are displayed, Basil L. Contovounesios, 2021/02/25