Conform hook names to conventions
Also minor reformatting & comment corrections.
This commit is contained in:
parent
c1b8d6f508
commit
17981d6a61
7 changed files with 8 additions and 11 deletions
|
@ -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*")
|
||||
|
|
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue