emacs错误无法保存自定义设置
设置emacs主屏幕时,会显示一条失败消息“无法保存自定义设置”emacs错误无法保存自定义设置,emacs,Emacs,设置emacs主屏幕时,会显示一条失败消息“无法保存自定义设置” 如果我们查看cus-edit.el中的custom save all的源代码,请提供帮助。我们发现: (defun custom-save-all () "Save all customizations in `custom-file'." (when (and (null custom-file) init-file-had-error) (error "Cannot save customizations; i
如果我们查看cus-edit.el中的
custom save all
的源代码,请提供帮助。我们发现:
(defun custom-save-all ()
"Save all customizations in `custom-file'."
(when (and (null custom-file) init-file-had-error)
(error "Cannot save customizations; init file was not fully loaded"))
因此,在加载init文件时,似乎出现了一个错误。尝试使用
--debug init
选项启动emacs,该选项使emacs Lisp调试器能够帮助您找到init文件中的错误 我在.emacs文件中拼错了一条路径
请检查.emacs文件中的拼写错误
编辑:请记住UNIX路径区分大小写。到目前为止,这一直是我的主要错误来源。谢谢。这真是个小错误。我在.emacs文件中拼错了一条路径。
(defun custom-save-all ()
"Save all customizations in `custom-file'."
(when (and (null custom-file) init-file-had-error)
(error "Cannot save customizations; init file was not fully loaded"))