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
大家看看是什么原因,麻烦帮忙解答下,在线等。
在/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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28