Function: action:params
action:params is a byte-compiled function defined in hact.el.
Signature
(action:params ACTION)
Documentation
Return unmodified ACTION parameter list.
Autoloads action function if need be to get the parameter list.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hact.el
(defun action:params (action)
"Return unmodified ACTION parameter list.
Autoloads action function if need be to get the parameter list."
(when (and (symbolp action) (fboundp action))
(setq action (hypb:indirect-function action)))
(cond ((null action) nil)
((fboundp 'help-function-arglist)
(help-function-arglist action t))
((listp action)
(cond ((eq (car action) 'closure)
(nth 2 action))
((eq (car action) 'autoload)
(error "(action:params): Autoload not supported: %s" action))
(t (car (cdr action)))))
((byte-code-function-p action)
(action:params-emacs action))
((symbolp action)
(car (cdr (and (fboundp action) (hypb:indirect-function action)))))
((and (fboundp 'closurep) (closurep action))
(aref action 0))))