diff options
| author | Ravi R Kiran <aine.marina@gmail.com> | 2020-01-21 03:54:34 (GMT) |
|---|---|---|
| committer | Ravi R Kiran <aine.marina@gmail.com> | 2020-01-21 03:54:34 (GMT) |
| commit | a6c5819f947f38aa6d3fa4dfdddebaba739060a3 (patch) | |
| tree | 883dc1771d54d2ee26074dd841694cb7fd24cdf9 /lisp | |
| parent | db6996253d2007a7ae6b82b092c0da615b1bc135 (diff) | |
| download | dotemacs-a6c5819f947f38aa6d3fa4dfdddebaba739060a3.zip dotemacs-a6c5819f947f38aa6d3fa4dfdddebaba739060a3.tar.gz dotemacs-a6c5819f947f38aa6d3fa4dfdddebaba739060a3.tar.bz2 | |
Finally get rid of startup warning
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ravi-init-tex.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/ravi-init-tex.el b/lisp/ravi-init-tex.el index 90f1362..ec4ca61 100644 --- a/lisp/ravi-init-tex.el +++ b/lisp/ravi-init-tex.el @@ -153,9 +153,7 @@ starting with \\ and followed by a block of text enclosed in {}." (add-hook 'TeX-mode-hook 'ravi/company-math-setup))) (use-package latex-extra - :config - (progn - (add-hook 'LaTeX-mode-hook 'latex-extra-mode)) + :hook (LaTex-mode . latex-extra-mode) :diminish latex-extra-mode) (defun my-LaTeX-preview-math () |
