问题
When I have elisp function
(defun hello (param)
... )
how can I run the (hello abc.txt) with org mode? I learned how to link http with [[mine:...]] tag. I expect similar way, something like [[lisp:hello(abc.txt)]] or something.
ADDED
As this post explains, I have (runmate) and (runeditor (something)) elisp command.
It works fine with alt-x runmate in emacs, but when I run [[lisp:(runmate)]], I get the following dialog box.
SOLVED
It should have used [[elisp:(runmate)]].
回答1:
You're close. You need [[elisp:(hello "abc.txt")]]
[I'm assuming abc.txt is actually a string]
来源:https://stackoverflow.com/questions/5043895/how-to-call-emacs-lisp-functions-in-emacs-org-mode