On Sunday, 10 Mar 2019 at 15:37, Josh wrote:
> Hi,
>
> I am new to emacs and orgmode. I spent the last couple days reading most 
> of the docs before diving in, but I didn't see anywhere how I could have a 
> macro that instead of replacing the macro with lisp code, calls an 
> external program instead.
>
> Something like:
>
> #+MACRO: func   call /home/josh/mybinary $1

You could maybe do something along the lines of

#+macro: func (eval (shell-command (concat "/home/josh/mybinary " "$1")))

(untested).

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.2.2-249-g51444a

Reply via email to