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.
我把它放在我的 .emacs 文件中:
(setq org-default-notes-file (concat org-directory "/notes.org")) (define-key global-map "\C-cc" 'org-capture)
但是当我打开emacs时,会发生这种情况:
Symbol 作为变量的值是 void:org-directory
我该如何解决这个问题?
您首先需要设置org-directory类似的东西,(setq org-directory "folder")否则它将是未定义的并产生错误
org-directory
(setq org-directory "folder")