From: Lars Ingebrigtsen Date: Tue, 5 Jul 2022 11:03:36 +0000 (+0200) Subject: Remove the interactive prefix from emoji-insert X-Git-Tag: emacs-29.0.90~1447^2~1177 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=678453ebc65cc075fbf777a9b41557c26de544f2;p=emacs.git Remove the interactive prefix from emoji-insert * lisp/international/emoji.el (emoji-insert): Remove the prefix action from this command, since the same is already available on `C-x 8 e s', and we're considering using the prefix to copy to the kill ring. --- diff --git a/lisp/international/emoji.el b/lisp/international/emoji.el index 27b725b0aad..341b44cc11e 100644 --- a/lisp/international/emoji.el +++ b/lisp/international/emoji.el @@ -73,18 +73,13 @@ representing names. For instance: (defvar emoji--insert-buffer) ;;;###autoload -(defun emoji-insert (&optional text) - "Choose and insert an emoji glyph. -If TEXT (interactively, the prefix argument), choose the emoji -by typing its Unicode Standard name (with completion), instead -of selecting from emoji display." - (interactive "*P") +(defun emoji-insert () + "Choose and insert an emoji glyph." + (interactive "*") (emoji--init) - (if text - (emoji--choose-emoji) - (unless (fboundp 'emoji--command-Emoji) - (emoji--define-transient)) - (funcall (intern "emoji--command-Emoji")))) + (unless (fboundp 'emoji--command-Emoji) + (emoji--define-transient)) + (funcall (intern "emoji--command-Emoji"))) ;;;###autoload (defun emoji-recent ()