Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我制作了一个自定义函数,用于捕获目标:
(defun inbox-goto() (interactive) (org-capture-goto-target "c"))
一旦我调用它就可以正常工作org-capture,但是如果我尝试在新启动后立即使用它,它会给我“符号的函数定义无效:org-capture-goto-target”。
org-capture
我很确定你的问题是org-capture自动加载但org-capture-goto-target不是。解决这个问题的最简单方法可能是将 a 插入require到 的定义中inbox-goto:
org-capture-goto-target
require
inbox-goto
(defun inbox-goto () (interactive) (require 'org-capture) (org-capture-goto-target "c"))