1. yagnesh raghava yakkala
  2. emacsd

Commits

yagnesh raghava yakkala  committed 82d5533

* init-auctex.el: fix the last commit

  • Participants
  • Parent commits 2273c91
  • Branches master

Comments (0)

Files changed (1)

File init-auctex.el

View file
  • Ignore whitespace
 ;; You should get a copy from <http://www.gnu.org/licenses/gpl.html>
 
 ;;; Description:
-
-(add-to-list 'load-path "~/.emacs.d/el-get/auctex/preview/")
+(add-to-list 'load-path "~/.emacs.d/el-get/auctex/preview")
 (load "auctex.el" nil t t)
 (load "preview-latex.el" nil t t)
 
 
 ;;; --------------------------------------------------------
 ;;; Reftex
-(setq LaTeX-mode-hook
-      '(lambda ()
-         (turn-on-reftex)))
+(add-hook 'LaTeX-mode-hook
+          '(lambda ()
+             (turn-on-reftex)))
 
 (setq reftex-plug-into-AUCTeX t
       reftex-guess-label-type t