|
想给emacs加载点扩展包,但是无论如何就是加载不上,希望大家帮帮忙,错误提示如下:
在/root/.emacs.d/elisp下放了要加的包,并在.emacs中写了
(add-to-list 'load-path "</root/.emacs.d/elisp/>")
(require 'session)
(add-hook 'after-init-hook 'session-initialize)
但是出现错误:
An error has occurred while loading `/root/.emacs':
File error: "Cannot open load file", "session"
To ensure normal operation, you should investigate the cause
of the error in your initialization file and remove it. Start
Emacs with the `--debug-init' option to view a complete error
backtrace
大家看看是什么原因,麻烦帮忙解答下,在线等。 |
|