问题描述
当我有elisp功能
(defun hello (param)
... )
如何运行(hello abc.txt)
组织模式?我学到了与 [[mine:...]]
标签。我希望类似的方式,像 [[lisp:hello(abc.txt)]]
或某事。
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.
由于此解释说,我有(runmate)
和(runeditor(something))
elisp命令。
As this post explains, I have (runmate)
and (runeditor (something))
elisp command.
它在emacs中的 alt-x runmate
正常工作,但是当我运行 [[lisp: runmate)]]
,我得到以下对话框。
It works fine with alt-x runmate
in emacs, but when I run [[lisp:(runmate)]]
, I get the following dialog box.
应该使用 [[elisp:(runmate)]]
。
推荐答案
关。你需要[[elisp:(helloabc.txt)]]
You're close. You need [[elisp:(hello "abc.txt")]]
[我假设abc.txt实际上是一个字符串]
[I'm assuming abc.txt is actually a string]
这篇关于如何在Emacs组织模式下调用Emacs Lisp函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!