(custom-set-variables
'(cua-mode t nil (cua-base))
'(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify))))
(custom-set-faces
;;Auto-Complete
(add-to-list 'load-path "~/.emacs.d/plugins")
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/plugins/ac-dict")
(ac-config-default)
;;YASnippet
(add-to-list 'load-path "~/.emacs.d/plugins/yasnippet")
(require 'yasnippet)
(yas-global-mode 1)
(yas/load-directory "~/.emacs.d/plugins/yasnippet/snippets")
;;iBus
(add-to-list 'load-path "~/.emacs.d/plugins/ibus-el-0.3.2")
(require 'ibus)
(add-hook 'after-init-hook 'ibus-mode-on)
)
这是我的 .emacs 文件。我不是一个 lisp 人,但我想让 emacs 更易于使用。但现在它报告
警告(初始化):加载“/home/city/.emacs”时出错:
错误类型参数:symbolp,~/.emacs.d/plugins
我不知道为什么它不起作用。希望你伟大的家伙会帮助我。谢谢