无法在emacs启动时加载cl库
我已经从Github下载了autopair,并将其解压缩到无法在emacs启动时加载cl库,emacs,Emacs,我已经从Github下载了autopair,并将其解压缩到~/.emacs.d。我还添加了安装说明中给出的行 (add-to-list 'load-path "/path/to/autopair") ;; comment if autopair.el is in standard load path (require 'autopair) (autopair-global-mode) ;; enable autopair in all buffers 我将(添加到列表“加载路径”//path
~/.emacs.d
。我还添加了安装说明中给出的行
(add-to-list 'load-path "/path/to/autopair") ;; comment if autopair.el is in standard load path
(require 'autopair)
(autopair-global-mode) ;; enable autopair in all buffers
我将(添加到列表“加载路径”//path/to/autopair”)
修改为(添加到列表“加载路径”~/.emacs.d/autopair master/”
,因为该文件夹包含autopair.el文件。但当我打开emacs时,它会显示
Warning (initialization): An error occurred while loading `/home/karthikeyan/.emacs':
File error: Cannot open load file, cl-lib
我在LinuxMint15中使用Emacs23.4.1,是否有其他方法在启动时使用函数自动完成大括号。此外,它不会在Meta-x
中显示autopair模式。请尝试以下操作(我的emacs版本是23):
- (添加到列表“加载路径”/“路径”到“.emacs.d/cl lib/”)
- (需要“cl lib”)
我怀疑您需要升级到Emacs 24.3,或者。我刚刚升级并删除了Emacs 23。但它仍然显示在菜单中。如何将其从菜单中删除@Legocialegoscia:你应该把它作为一个答案发布,这样它才能被接受。(我甚至不知道存在向前兼容包;这绝对是有用的信息。)谢谢!为我工作。那个链接已经死了(我使用的是23.4,在将cl-lib添加到加载路径后,我得到的
Symbol的函数定义无效:gv define simple setter