Say I have a
defun with a
dolist inside that I want to be able to pass a string that is then converted to a list with a length equal to the number of words in said string via the minibuffer, so something like:
list: arg1 arg2 arg3 arg4
and just run the loop 3 more times
(defun some-function (&rest args) (interactive (list (some-function-to-read-multiple-arguments-as-a-list))) (dolist (arg args) (some-function)))
I assume it's very trivial, but I've not been able to find anything in the docs about it.