]> git.eshelyaron.com Git - emacs.git/commit
Don't permit C-x 8 RET &c in isearch.el to contaminate search string
authorPo Lu <luangruo@yahoo.com>
Sun, 5 May 2024 01:49:09 +0000 (09:49 +0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 6 May 2024 16:40:02 +0000 (18:40 +0200)
commitf686f18e7884b003c530037b066b7181ad074386
tree8b39ae5a0f3c996448f2475a475ee57103c74bc8
parentab2f8427fc69eb562c4185924f96ce24b4bc485b
Don't permit C-x 8 RET &c in isearch.el to contaminate search string

* lisp/isearch.el (isearch-char-by-name, isearch-emoji-by-name):
Concatenate new character to the query string saved by
with-isearch-suspended, not the current string, which might have
been modified by recursive I-search sessions within
completing-read.

(cherry picked from commit e0993f5169ebf761d520b2e23630a3de7d13ccb3)
lisp/isearch.el