General refactors & optimizations

This commit is contained in:
Henrik Lissner 2019-04-29 18:54:46 -04:00
parent 087127a31d
commit 9735f034e1
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 14 additions and 24 deletions

View file

@ -209,7 +209,7 @@ enable multiple minor modes for the same regexp.")
(defun doom|enable-minor-mode-maybe ()
"Check file name against `doom-auto-minor-mode-alist'."
(when buffer-file-name
(when (and buffer-file-name doom-auto-minor-mode-alist)
(let ((name buffer-file-name)
(remote-id (file-remote-p buffer-file-name))
(alist doom-auto-minor-mode-alist))