branch: elpa/evil-exchange
commit cbb670e1cae35318f4d6f4106c78e3aa66df4286
Author: Dewdrops <[email protected]>
Commit: Dewdrops <[email protected]>

    fix wrong boundary
---
 evil-exchange.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-exchange.el b/evil-exchange.el
index 1fcb76d056..5151b3bc84 100644
--- a/evil-exchange.el
+++ b/evil-exchange.el
@@ -154,7 +154,7 @@
             (funcall insert-fn orig-text))))
     ;; exchange across buffers
     (let ((orig-text (with-current-buffer orig-buffer
-                       (funcall extract-fn orig-beg orig-beg)))
+                       (funcall extract-fn orig-beg orig-end)))
           (curr-text (funcall extract-fn curr-beg curr-end)))
       (save-excursion
         (with-current-buffer orig-buffer

Reply via email to