Conform hook names to conventions

Also minor reformatting & comment corrections.
This commit is contained in:
Henrik Lissner 2018-06-17 02:13:46 +02:00
parent c1b8d6f508
commit 17981d6a61
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 8 additions and 11 deletions

View file

@ -7,10 +7,7 @@
(set-eval-handler! 'emacs-lisp-mode #'+emacs-lisp-eval)
(set-lookup-handlers! 'emacs-lisp-mode :documentation 'info-lookup-symbol)
(set-docset! '(lisp-mode emacs-lisp-mode) "Emacs Lisp")
(set-pretty-symbols! 'emacs-lisp-mode
:lambda "lambda")
(set-pretty-symbols! 'emacs-lisp-mode :lambda "lambda")
(set-rotate-patterns! 'emacs-lisp-mode
:symbols '(("t" "nil")
("let" "let*")

View file

@ -202,9 +202,9 @@
:when (featurep! :completion company)
:commands (company-auctex-init)
:init
;; We can't use the (set-company-backend! ...) because Auctex reports its
;; We can't use the `set-company-backend!' because Auctex reports its
;; major-mode as `latex-mode', but uses LaTeX-mode-hook for its mode, which is
;; not anticipated by :company-backend (and shouldn't have to!)
;; not something `set-company-backend!' anticipates (and shouldn't have to!)
(add-hook! LaTeX-mode
(make-variable-buffer-local 'company-backends)
(company-auctex-init)))