diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-07-05 13:03:36 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-07-05 13:03:36 +0200 |
commit | 678453ebc65cc075fbf777a9b41557c26de544f2 (patch) | |
tree | 29d434a28802dc0c6eeea02768f803b7a0de8f33 /lisp/international | |
parent | 6dfe33297180765935858855ce4bd1934f533bb0 (diff) | |
download | emacs-678453ebc65cc075fbf777a9b41557c26de544f2.tar.gz emacs-678453ebc65cc075fbf777a9b41557c26de544f2.tar.bz2 emacs-678453ebc65cc075fbf777a9b41557c26de544f2.zip |
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.
Diffstat (limited to 'lisp/international')
-rw-r--r-- | lisp/international/emoji.el | 17 |
1 files changed, 6 insertions, 11 deletions
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 () |