Function: emoji-list
emoji-list is an autoloaded, interactive and byte-compiled function
defined in emoji.el.gz.
Signature
(emoji-list)
Documentation
List Emoji and allow selecting and inserting one of them.
If you are displaying Emoji on a text-only terminal, and some
of them look incorrect, or there are display artifacts when
scrolling the display, turn off auto-composition-mode(var)/auto-composition-mode(fun).
Select the emoji by typing RET (emoji-list-select) on its picture.
The selected glyph will be inserted into the buffer that was current
when the command was invoked.
Probably introduced at or before Emacs version 29.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/international/emoji.el.gz
;;;###autoload
(defun emoji-list ()
"List Emoji and allow selecting and inserting one of them.
If you are displaying Emoji on a text-only terminal, and some
of them look incorrect, or there are display artifacts when
scrolling the display, turn off `auto-composition-mode'.
Select the emoji by typing \\<emoji-list-mode-map>\\[emoji-list-select] on its picture.
The selected glyph will be inserted into the buffer that was current
when the command was invoked."
(interactive)
(let ((buf (current-buffer)))
(emoji--init)
(switch-to-buffer (get-buffer-create "*Emoji*"))
;; Don't regenerate the buffer if it already exists -- this will
;; leave point where it was the last time it was used.
(when (zerop (buffer-size))
(let ((inhibit-read-only t))
(emoji-list-mode)
(emoji--list-generate nil (cons nil emoji--labels))
(goto-char (point-min))))
(setq-local emoji--insert-buffer buf)))