]> git.eshelyaron.com Git - emacs.git/commit
No longer use transient in isearch-emoji-by-name
authorJonas Bernoulli <jonas@bernoul.li>
Wed, 1 Feb 2023 19:25:15 +0000 (20:25 +0100)
committerJonas Bernoulli <jonas@bernoul.li>
Sun, 5 Feb 2023 13:54:27 +0000 (14:54 +0100)
commit58dc03ba7e4c67027f49ed9f741ceb68de262f72
treed9fc23835f456f208264fb317dc7168899e3bbc5
parent0c125fcc67a47b933716124223404a45e73357c7
No longer use transient in isearch-emoji-by-name

* lisp/isearch.el (isearch-emoji-by-name): Use 'emoji--read-emoji'
and if that returns derivations, 'completing-read' to select one
of them.  This fixes bug#60740.
* lisp/international/emoji.el (emoji--init): Autoload.
(emoji--read-emoji): New function, which doesn't use transient
and returns a list of the glyph and all derivations, if any.
(emoji--choose-emoji): Use 'emoji--read-emoji'.
lisp/international/emoji.el
lisp/isearch.el