General refactor for consistency & idempotency
Also updated comments
This commit is contained in:
parent
50401f6c09
commit
80adb9c1f6
17 changed files with 48 additions and 40 deletions
|
@ -57,9 +57,7 @@
|
|||
(defun +emacs-lisp|init-flycheck ()
|
||||
"Initialize flycheck-mode if not in emacs.d."
|
||||
(when (and buffer-file-name
|
||||
(not (cl-loop for dir in (append (list doom-emacs-dir)
|
||||
doom-modules-dirs
|
||||
doom-psuedo-module-dirs)
|
||||
(not (cl-loop for dir in (list doom-emacs-dir doom-private-dir)
|
||||
if (file-in-directory-p buffer-file-name dir)
|
||||
return t)))
|
||||
(flycheck-mode +1))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue