Revert macros to ...! name convention (elisp doesn't like @...)

This commit is contained in:
Henrik Lissner 2017-02-23 00:06:12 -05:00
parent b64d5554e3
commit 33c88d4f82
125 changed files with 877 additions and 880 deletions

View file

@ -13,7 +13,7 @@
;; Plugins
;;
(@def-package auctex
(def-package! auctex
:mode ("\\.tex$" . LaTeX-mode)
:init
(add-hook 'LaTeX-mode-hook 'turn-on-auto-fill)
@ -23,25 +23,25 @@
TeX-source-correlate-start-server nil
LaTeX-fill-break-at-separators nil)
(@add-hook LaTeX-mode '(LaTeX-math-mode TeX-source-correlate-mode))
(add-hook! LaTeX-mode '(LaTeX-math-mode TeX-source-correlate-mode))
(@set :company-backend 'LaTeX-mode '(company-auctex)))
(set! :company-backend 'LaTeX-mode '(company-auctex)))
(@def-package company-auctex)
(def-package! company-auctex)
(@def-package bibtex ; built-in
(def-package! bibtex ; built-in
:config
(setq bibtex-dialect 'biblatex
bibtex-align-at-equal-sign t
bibtex-text-indentation 20
bibtex-completion-bibliography (list +latex-bibtex-default-file))
(@map :map bibtex-mode-map
(map! :map bibtex-mode-map
"C-c \\" 'bibtex-fill-entry))
(@def-package reftex ; built-in
(def-package! reftex ; built-in
:commands turn-on-reftex
:init
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
@ -49,13 +49,13 @@
(setq reftex-plug-into-AUCTeX t
reftex-default-bibliography (list +latex-bibtex-default-file))
(@map :map reftex-mode-map
(map! :map reftex-mode-map
:leader :n ";" 'reftex-toc))
(@def-package ivy-bibtex
(def-package! ivy-bibtex
:commands ivy-bibtex)
(@def-package helm-bibtex
(def-package! helm-bibtex
:commands helm-bibtex)