无法调试 init.el

无法调试 init.el

当我在 Mac OSX 中打开 emacs 时出现以下错误:

Warning (initialization): An error occurred while loading 
`/Users/my-user-name/.emacs.d/init.el':
Symbol's value as variable is void: Synctex

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

然后我启动 emacs--debug-init并得到以下内容:

Debugger entered--Lisp error: (error "Unknown keyword :risky")
signal(error ("Unknown keyword :risky"))
error("Unknown keyword %s" :risky)
custom-handle-keyword(package-load-list :risky t custom-variable)
custom-declare-variable(package-load-list (quote (all)) "List of packages for `package-initialize' to load.\nEach eleme$
(defcustom package-load-list (quote (all)) "List of packages for `package-initialize' to load.\nEach element in this li$
eval-buffer(#<buffer  *load*<3>> nil "/Users/my-user-name/.emacs.d/package.el" nil t)  ; Reading at buffer position 9131
load-with-code-conversion("/Users/my-user-name/.emacs.d/package.el" "/Users/my-user-name/.emacs.d/package.el" nil t)
require(package)
eval-buffer(#<buffer  *load*<2>> nil "/Users/my-user-name/.emacs.d/starter-kit.el" nil t)  ; Reading at buffer position 17$
load-with-code-conversion("/Users/my-user-name/.emacs.d/starter-kit.el" "/Users/my-user-name/.emacs.d/starter-kit.el" nil nil$
load("/Users/my-user-name/.emacs.d/starter-kit.el" nil nil t)
load-file("/Users/my-user-name/.emacs.d/starter-kit.el")

有人能帮我解决这个问题吗?这是我第一次尝试调试/编辑 init.el。

相关内容