Skip to content

Commit

Permalink
Merge pull request #1643 from SequentialDesign/update-isearch-after-d…
Browse files Browse the repository at this point in the history
…eleting-and-yanking

update point after backspacing and yanking while isearch is active
  • Loading branch information
cxxxr authored Nov 27, 2024
2 parents 3704e91 + e64e4de commit 7029aee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ext/isearch.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@
(subseq *isearch-string*
0
(1- (length *isearch-string*))))
(funcall *isearch-search-function* (current-point) *isearch-string*)
(isearch-update-display)))

(define-command isearch-raw-insert () ()
Expand Down Expand Up @@ -396,6 +397,7 @@
(let ((str (yank-from-clipboard-or-killring)))
(when str
(setq *isearch-string* str)
(funcall *isearch-search-function* (current-point) *isearch-string*)
(isearch-update-display))))

(defun isearch-add-char (c)
Expand Down

0 comments on commit 7029aee

Please sign in to comment.