mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-14 15:46:56 -05:00
Minor, general refactor
This commit is contained in:
@@ -119,7 +119,6 @@ Doom was setup, which can cause problems.")
|
||||
quelpa-verbose doom-debug-mode
|
||||
quelpa-dir (expand-file-name "quelpa" doom-packages-dir)
|
||||
|
||||
byte-compile-dynamic nil
|
||||
byte-compile-verbose doom-debug-mode
|
||||
byte-compile-warnings '(not free-vars unresolved noruntime lexical make-local))
|
||||
|
||||
|
@@ -25,11 +25,11 @@
|
||||
(list (abbreviate-file-name doom-local-dir) ".sync"
|
||||
"node_modules" "flow-typed"))
|
||||
projectile-other-file-alist
|
||||
(append projectile-other-file-alist
|
||||
'(("css" . ("scss" "sass" "less" "styl"))
|
||||
("scss" . ("css"))
|
||||
("sass" . ("css"))
|
||||
("less" . ("css"))
|
||||
(append projectile-other-file-alist
|
||||
'(("css" "scss" "sass" "less" "styl")
|
||||
("scss" "css")
|
||||
("sass" "css")
|
||||
("less" "css")
|
||||
("styl" "css"))))
|
||||
|
||||
;; Projectile root-searching functions can cause an infinite loop on TRAMP
|
||||
|
@@ -677,7 +677,7 @@ confirmation."
|
||||
(setq mode-name
|
||||
(cond ((functionp name) (funcall name))
|
||||
((stringp name) name)
|
||||
(t (error "'%s' isn't a valid name for %s" name major-mode))))))
|
||||
((error "'%s' isn't a valid name for %s" name major-mode))))))
|
||||
|
||||
(defun doom|protect-visible-buffers ()
|
||||
"Don't kill the current buffer if it is visible in another window (bury it
|
||||
|
Reference in New Issue
Block a user