]> git.eshelyaron.com Git - emacs.git/commitdiff
Delete eval-command-interactive-spec
authorSean Whitton <spwhitton@spwhitton.name>
Wed, 21 Jun 2023 12:26:09 +0000 (13:26 +0100)
committerSean Whitton <spwhitton@spwhitton.name>
Wed, 21 Jun 2023 12:26:09 +0000 (13:26 +0100)
* etc/NEWS: Delete announcement of eval-command-interactive-spec.
* lisp/emacs-lisp/subr-x.el (eval-command-interactive-spec): Delete.

etc/NEWS
lisp/emacs-lisp/subr-x.el

index 77ca749ccc3a478306b9a287c8155a4813a7d6c1..d703b7e77beecaee51e32b17889c6d2f68932dfd 100644 (file)
--- 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.
-
 \f
 * Changes in Emacs 30.1 on Non-Free Operating Systems
 
index 38f85c242c7045052d909930580cae6daa8cc33d..9e906930b924b20b8f32e3c40e3718042ea8e10b 100644 (file)
@@ -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