Function: hargs:action-get

hargs:action-get is a byte-compiled function defined in hargs.el.

Signature

(hargs:action-get ACTION EDITING-FLAG)

Documentation

Interactively get list of arguments for ACTION's parameters.

Current button is being edited when EDITING-FLAG is t. Return nil if ACTION is not a list or byte-code object, has no interactive form or takes no arguments.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hargs.el
(defun hargs:action-get (action editing-flag)
  "Interactively get list of arguments for ACTION's parameters.
Current button is being edited when EDITING-FLAG is t.
Return nil if ACTION is not a list or `byte-code' object, has no
interactive form or takes no arguments."
  (save-excursion
    (and (or (subrp action) (byte-code-function-p action) (listp action)
             (and (fboundp 'closurep) (closurep action)))
	 (let ((interactive-form (action:commandp action)))
	   (when interactive-form
	     (hpath:relative-arguments
	      (hargs:iform-read interactive-form editing-flag)))))))