emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding eval-command-interactive-spec


From: Sean Whitton
Subject: Adding eval-command-interactive-spec
Date: Tue, 3 Jan 2023 05:41:22 +0000

I think that it would be useful to have this:

    (defun eval-command-interactive-spec (command)
      (advice-eval-interactive-spec
       (cadr (or (and (symbolp command) (get command 'interactive-form))
                 (interactive-form command)))))

but I'm not sure where it should go -- nadvice.el?  subr.el?  subr-x.el?

-- 
Sean Whitton



reply via email to

[Prev in Thread] Current Thread [Next in Thread]