From 178ab9bdd8db8821c6acacffcccda10abbef8f29 Mon Sep 17 00:00:00 2001 From: Chizi123 <joelgrun@gmail.com> Date: Thu, 22 Nov 2018 07:32:40 +0000 Subject: [PATCH] added auctex --- init.el | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 5e768f7..0ee9edb 100644 --- a/init.el +++ b/init.el @@ -171,10 +171,17 @@ :ensure t :init (global-company-mode) :config - (add-to-list 'company-backends 'company-c-headers) (add-hook 'c-mode-common-hook (lambda () (define-key c-mode-base-map [(tab)] 'company-complete))) + (setq auto-package-update-delete-old-versions t) + (setq auto-package-update-hide-results t) + (auto-package-update-maybe)) + +(use-package company-c-headers + :ensure t + :config + (add-to-list 'company-backends 'company-c-headers) (setq auto-package-update-delete-old-versions t) (setq auto-package-update-hide-results t) (auto-package-update-maybe)) @@ -362,6 +369,13 @@ (setq auto-package-update-hide-results t) (auto-package-update-maybe)) +(use-package tex + :ensure auctex + :config + (setq auto-package-update-delete-old-versions t) + (setq auto-package-update-hide-results t) + (auto-package-update-maybe)) + (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -372,7 +386,7 @@ ("ec5f697561eaf87b1d3b087dd28e61a2fc9860e4c862ea8e6b0b77bd4967d0ba" default))) '(package-selected-packages (quote - (zenburn-theme org flycheck-pos-tip flycheck rtags racket-mode geiser auto-package-update use-package pdf-tools org-bullets x86-lookup ztree yasnippet workgroups2 volatile-highlights undo-tree srefactor smartparens nyan-mode magit ibuffer-vc helm-projectile guide-key ggtags diff-hl company-c-headers clean-aindent-mode)))) + (auctex zenburn-theme org flycheck-pos-tip flycheck rtags racket-mode geiser auto-package-update use-package pdf-tools org-bullets x86-lookup ztree yasnippet workgroups2 volatile-highlights undo-tree srefactor smartparens nyan-mode magit ibuffer-vc helm-projectile guide-key ggtags diff-hl company-c-headers clean-aindent-mode)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. -- Gitblit v1.9.3