当我尝试检查“不再显示此屏幕”框并保存在Emacs默认启动缓冲区时,出现错误:custom-save-all: Cannot save customizations, init file not fully loaded
我的完整输出如下:
Loading 00debian-vars...
No /etc/mailname. Reverting to default...
Loading 00debian-vars...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50slime.el (source)...
Loading /usr/share/emacs23/site-lisp/slime/slime-autoloads.elc...done
Loading /etc/emacs/site-start.d/50slime.el (source)...done
Loading /home/nathan/elisp/autoloads...done
For information about GNU Emacs and the GNU system, type C-h C-a.
(New file)
custom-save-all: Cannot save customizations; init file was not fully loaded
我一直在修改我的.emacs
文件无济于事。它看起来像这样(我想让install.el
正常工作):
(load "~/elisp/autoloads" 'install)
(add-to-list 'load-path "~/elisp")
(require 'install.el)
如果我尝试C - X - C - E
此代码,我会在缓冲区中出错:
Debugger entered--Lisp error: (error "Required feature `install.el' was not provided")
require(install\.el)
eval((require (quote install\.el)))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)
存在 ~/elisp
目录,这就是我的*.el
文件所在的位置。所以我有点困惑,因为看起来我有正确的路径名和语法。
任何帮助都会很棒。谢谢你,Emacs的黑客们!
答案 0 :(得分:7)
您需要使用:
(require 'install)
没有.el