如何在Emacs org-mode中调用Emacs Lisp函数?

pro*_*eek 4 emacs org-mode

当我有elisp功能

(defun hello (param)
    ... )
Run Code Online (Sandbox Code Playgroud)

如何运行(hello abc.txt)with org模式?我学会了如何将http[[mine:...]]标签链接起来.我期待类似的方式,类似的[[lisp:hello(abc.txt)]]东西.

添加

正如这篇文章解释的那样,我有(runmate)(runeditor (something))elisp命令.

alt-x runmate在emacs中工作正常,但是当我运行时[[lisp:(runmate)]],我得到以下对话框.

在此输入图像描述

解决了

应该用过[[elisp:(runmate)]].

Wes*_*ker 7

你很亲密 你需要[[elisp:(hello"abc.txt")]]

[我假设abc.txt实际上是一个字符串]