emacs安装auto-complete

1.下载auto-complete

2.解压

tar  xf auto-complete-x.x.x.tar.bz2

3.安装

方法一:

            a.进入解压目录,打开emacs,M-x  load-file 回了个车,输入 etc/install.el,回车

      b.将下面配置写入你的 .emacs

       

(add-to-list 'load-path "~/.emacs.d")    ; This may not be appeared if you have already added.
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(require 'auto-complete-config)
(ac-config-default)

方法二:

            a.进入解压目录:

$ make install

$ make install DIR=$HOME/.emacs.d/

              b.写入配置文件



文档

posted @ 2014-04-26 22:57  忧郁巫师  阅读(432)  评论(0编辑  收藏  举报