* lisp/international/emoji.el (emoji--define-transient): Hide
transient prefix/suffix commands from 'execute-extended-command'
by declaring that they should only be listed in the non-existent
'not-a-mode' mode.
t end-function))
;; Insert the emoji.
(lambda ()
- (interactive)
+ (interactive nil not-a-mode)
;; Allow switching to the correct
;; buffer.
(when end-function
;; There's probably a better way to do this...
(setf (symbol-function name)
(lambda ()
- (interactive)
+ (interactive nil not-a-mode)
(transient-setup name)))
(pcase-let ((`(,class ,slots ,suffixes ,docstr ,_body)
(transient--expand-define-args (list args))))