+ -
当前位置:首页 → 问答吧 → emacs 加载elisp问题(在线等)

emacs 加载elisp问题(在线等)

时间:2005-10-21

来源:互联网

想给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
大家看看是什么原因,麻烦帮忙解答下,在线等。

作者: duoxing   发布时间: 2005-10-21

(add-to-list 'load-path "</root/.emacs.d/elisp/>")

我觉得不需要加"< >"吧
我就没加,使用正常

作者: iNPRwANG   发布时间: 2005-10-21

嗯,不用加尖括号

作者: Anakin   发布时间: 2005-10-21

我的不加还是错的,但是还好,我用其他的方法搞定了,呵呵,还是谢谢你们啊!!

作者: duoxing   发布时间: 2005-10-21

又不说是什么方法

作者: cpiscesc   发布时间: 2005-10-24

热门下载

更多