1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Merge remote-tracking branch 'origin/master' into feature/android

This commit is contained in:
Po Lu 2023-06-06 21:01:56 +08:00
commit 1263531b9a
9 changed files with 95 additions and 6 deletions

View file

@ -507,9 +507,7 @@ Used by `emacs-authors-mode' and `emacs-news-mode'."
(defun eval-command-interactive-spec (command)
"Evaluate COMMAND's interactive form and return resultant list.
If COMMAND has no interactive form, return nil."
(advice-eval-interactive-spec
(cadr (or (and (symbolp command) (get command 'interactive-form))
(interactive-form command)))))
(advice-eval-interactive-spec (cadr (interactive-form command))))
(provide 'subr-x)