doom doctor 产生报错
Message: Symbol's value as variable is void
Details: (org-format-latex-options)
Backtrace:
(plist-put org-format-latex-options :scale 1.5)
(+org-init-appearance-h)
(run-hooks org-load-hook)
(byte-code "\300\301\302\"\210\303\304!\210\305\306!\207" [add-hook org-mode-hook #[0 "\300\301\302\...
(org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (python . t) (latex . t)))
(load-with-code-conversion "/home/charl/.config/doom/config.el" "/home/charl/.config/doom/config.el"...
(load "~/.config/doom/config" nil nomessage)
(condition-case e (load path noerror 'nomessage) ((debug doom-error) (signal (car e) (cdr e))) ((deb...
(doom-load "~/.config/doom/config")
(let ((doom-module-context [1 105 -105 :user nil nil nil])) (doom-load "~/.config/doom/config"))
(let ((old-custom-file custom-file)) (let ((doom-module-context [2 -111 -111 :config use-package nil...
(let ((doom-context doom-context)) (let ((tail (ensure-list 'modules))) (while tail (let ((context (...
经排查原因为使用的测试版 org 移除了自定义变量 org-format-latex-options
,但 Doom Emacs 的 org 配置文件 emacs/modules/lang/org/config.el
中函数 (+org-init-apperance-h)
修改了这一变量造成出错。
直接编辑这一配置文件会在 Doom 更新后失效,如何才能在用户自定义配置中修改 Doom 默认配置中的函数?