diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-06-06 21:51:41 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-06-06 21:51:41 -0400 |
commit | 5519ad0069672c189f9c75577cb68f6512e6ce90 (patch) | |
tree | f0c0208107f22ed85f107e9ae21b1cb6ba556b7d /lisp/init-tex.el | |
parent | cb50140969f5f7567142395348adc9e88e51a738 (diff) | |
download | emacs.d-5519ad0069672c189f9c75577cb68f6512e6ce90.tar.gz |
Use milkypostman's `after' macro
Diffstat (limited to 'lisp/init-tex.el')
-rw-r--r-- | lisp/init-tex.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/init-tex.el b/lisp/init-tex.el index e7e79c6..8d72162 100644 --- a/lisp/init-tex.el +++ b/lisp/init-tex.el @@ -72,8 +72,8 @@ The point should be beyond \"\\section\"." (error "%s does not exist" pdf-file)) (start-process "tex-pdf" nil "xdg-open" pdf-file))) -(eval-after-load 'latex - '(define-key LaTeX-mode-map (kbd "C-c m p") 'km/latex-find-pdf)) +(after 'latex + (define-key LaTeX-mode-map (kbd "C-c m p") 'km/latex-find-pdf)) (eval-after-load 'reftex '(diminish 'reftex-mode "Rf")) |