【发布时间】:2011-05-15 23:01:21
【问题描述】:
我是 emacs 的新手...我有几天了,我认为 emacs 很棒,但是当我尝试安装自动完成时出现错误...我从 http://cx4a.org/software/auto-complete/ 安装它,安装工作正常(我使用makefile)......但是当我把这行放在我的emacs.d中时
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(require 'auto-complete-config)
(ac-config-default)
我收到此错误
Warning (initialization): An error occurred while loading `/home/yo/.emacs':
Symbol's value as variable is void: ac-dictionary-directories
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace
我在 /home/yo/.emacs 中有我的文件夹 .emacs,在里面我有文件夹 ac-dic..在里面有 c++ 模式..lisp 模式 ruby 模式...etc..etc ……等等……
我的 autocomplete.el 也在我的 .emacs 中...我做错了什么??...谢谢!!!
【问题讨论】:
标签: emacs autocomplete lisp