I am trying to install emacs latex full-fill package (http://code.google.com/p/ac-math/). I placed ac-math.el in the ~ / elisp load-path directory and then placed the following in my .emacs file:
;; Adds elisp to load-path (add-to-list 'load-path "~/elisp") ;; Loads latex auto-complete (require 'ac-math) (add-to-list 'ac-modes 'latex-mode) (defun ac-latex-mode-setup () (setq ac-sources (append '(ac-source-math-latex ac-source-latex-commands ac-source-math-unicode) ac-sources)) ) (add-hook 'LaTeX-mode-hook 'ac-latex-mode-setup)
But when I load emacs, I get this error:
Warning (initialization): `/home/eddy/.emacs' error occurred during boot:
The value of the character as a variable is empty: ac-modes
To ensure proper operation, you must examine and remove the cause of the error in the initialization file. Launch Emacs with `--debug-init 'to see the full error.
Thanks in advance
source share