Function: actype:action-body
actype:action-body is a byte-compiled function defined in hact.el.
Signature
(actype:action-body ACTYPE)
Documentation
Return action body derived from ACTYPE (a symbol or symbol name).
ACTYPE may be a Hyperbole actype or Emacs Lisp function. If no action body and actype is a bound function symbol, return that.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hact.el
(defun actype:action-body (actype)
"Return action body derived from ACTYPE (a symbol or symbol name).
ACTYPE may be a Hyperbole actype or Emacs Lisp function.
If no action body and actype is a bound function symbol, return that."
(let (actname)
(if (stringp actype)
(setq actname actype
actype (intern actype))
(setq actname (symbol-name actype)))
(cond ((htype:body (or (symtable:actype-p actname) actype)))
((fboundp actype) actype))))