[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f16064f6bc0: Delete eval-command-interactive-spec
From: |
Sean Whitton |
Subject: |
master f16064f6bc0: Delete eval-command-interactive-spec |
Date: |
Wed, 21 Jun 2023 09:19:06 -0400 (EDT) |
branch: master
commit f16064f6bc0925385291a14f2febc8440afd7be8
Author: Sean Whitton <spwhitton@spwhitton.name>
Commit: Sean Whitton <spwhitton@spwhitton.name>
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.
---
etc/NEWS | 5 -----
lisp/emacs-lisp/subr-x.el | 5 -----
2 files changed, 10 deletions(-)
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master f16064f6bc0: Delete eval-command-interactive-spec,
Sean Whitton <=