aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d
diff options
context:
space:
mode:
authorThomas Schneider <qsx@qsx.re>2017-07-18 22:04:46 +0200
committerThomas Schneider <qsx@qsx.re>2017-07-18 22:04:46 +0200
commitea294062464193be2b92c76145e60420dff1223a (patch)
tree40009f3f3c8ca0fccfe8d2c8caa440fb094d1142 /dot.emacs.d
parent615671876fb35365c98808e860aac052d647d6c0 (diff)
Emacs: Install and configure AUCTeX
Signed-off-by: Thomas Schneider <qsx@qsx.re>
Diffstat (limited to 'dot.emacs.d')
-rw-r--r--dot.emacs.d/custom.el2
-rw-r--r--dot.emacs.d/init.el6
2 files changed, 7 insertions, 1 deletions
diff --git a/dot.emacs.d/custom.el b/dot.emacs.d/custom.el
index e4bf025..f78476a 100644
--- a/dot.emacs.d/custom.el
+++ b/dot.emacs.d/custom.el
@@ -9,7 +9,7 @@
("82d2cac368ccdec2fcc7573f24c3f79654b78bf133096f9b40c20d97ec1d8016" default)))
'(package-selected-packages
(quote
- (linum-relative yaml-mode color-theme-sanityinc-tomorrow))))
+ (auctex linum-relative yaml-mode color-theme-sanityinc-tomorrow))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index 8046828..6db1388 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -34,3 +34,9 @@
(add-to-list 'auto-mode-alist '("/mutt" . mail-mode))
(add-hook 'mail-mode-hook '(lambda() (turn-on-auto-fill)))
+(use-package auctex
+ :ensure t
+ :config
+ (setq TeX-auto-save t)
+ (setq TeX-parse-self t)
+ (setq fill-column 80))