From: Sean Whitton Date: Wed, 21 Jun 2023 12:26:09 +0000 (+0100) Subject: Delete eval-command-interactive-spec X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f16064f6bc0925385291a14f2febc8440afd7be8;p=emacs.git Delete eval-command-interactive-spec * etc/NEWS: Delete announcement of eval-command-interactive-spec. * lisp/emacs-lisp/subr-x.el (eval-command-interactive-spec): Delete. --- diff --git a/etc/NEWS b/etc/NEWS index 77ca749ccc3..d703b7e77be 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -672,11 +672,6 @@ Since circular alias chains now cannot occur, 'function-alias-p', 'indirect-function' and 'indirect-variable' will never signal an error. Their 'noerror' arguments have no effect and are therefore obsolete. ---- -** New function 'eval-command-interactive-spec' in the subr-x library. -This function evaluates a command's interactive form and returns the -resultant list. - * Changes in Emacs 30.1 on Non-Free Operating Systems diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el index 38f85c242c7..9e906930b92 100644 --- a/lisp/emacs-lisp/subr-x.el +++ b/lisp/emacs-lisp/subr-x.el @@ -504,11 +504,6 @@ Used by `emacs-authors-mode' and `emacs-news-mode'." (progn (forward-line -1) (point)) (point-max))))) -(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 (interactive-form command)))) - (provide 'subr-x) ;;; subr-x.el ends here