mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Conform hook names to conventions
Also minor reformatting & comment corrections.
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
|
||||
MODES should be one major-mode symbol or a list of them."
|
||||
(dolist (mode (doom-enlist modes))
|
||||
(let ((def-name (intern (format "+company--init-%s" mode))))
|
||||
(let ((def-name (intern (format "+company|init-%s" mode))))
|
||||
(fset def-name
|
||||
(lambda () (when (or (eq major-mode mode)
|
||||
(and (boundp mode) (symbol-value mode)))
|
||||
|
Reference in New Issue
Block a user