;; jaspace
(require-if-present 'jaspace)
+;; auto-complete
+(require-if-present 'auto-complete-config)
+(if (featurep 'auto-complete-config)
+ (progn
+ (add-to-list 'ac-dictionary-directories
+ "/usr/pkg/share/emacs/site-lisp/auto-complete/ac-dict")
+ (mapcar (lambda (mode)
+ (add-to-list 'ac-modes mode))
+ '(autoconf-mode
+ erlang-mode))
+ (add-hook 'erlang-mode-hook
+ (lambda ()
+ (add-to-list 'ac-sources 'ac-source-semantic)))
+ (ac-config-default)))
+
;; mic-paren
(require-if-present 'mic-paren)
(if (featurep 'mic-paren)