branch: master
commit 7b08db8aba1a6e1723426baad826cdce2bd16a48
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    ivy.el (ivy-next-history-element): Use "\\_<" instead of "\\b"
---
 ivy.el |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index b144182..8960168 100644
--- a/ivy.el
+++ b/ivy.el
@@ -857,9 +857,9 @@ Call the permanent action if possible."
         (when (and (with-ivy-window (derived-mode-p 'prog-mode))
                    (> (point) (minibuffer-prompt-end)))
           (undo-boundary)
-          (insert "\\b")
+          (insert "\\_>")
           (goto-char (minibuffer-prompt-end))
-          (insert "\\b")
+          (insert "\\_<")
           (forward-char (+ 2 (length ivy--default)))))
     (next-history-element arg))
   (ivy--cd-maybe)

Reply via email to