General refactors & optimizations
This commit is contained in:
parent
087127a31d
commit
9735f034e1
4 changed files with 14 additions and 24 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue