mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-22 16:21:04 -05:00
Clean up + refactor
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
(neotree-find))))
|
||||
|
||||
;;;###autoload
|
||||
(defun narf|neotree-close-on-window-change ()
|
||||
(defun narf|neotree-close-on-window-change (&rest _)
|
||||
"Close neotree to prevent ensuing mindow buggery."
|
||||
(unless (and (neo-global--window-exists-p)
|
||||
(eq (current-buffer) (neo-global--get-buffer)))
|
||||
|
@@ -5,7 +5,7 @@
|
||||
(defmacro add-yas-minor-mode! (mode)
|
||||
"Register minor MODES in yasnippet."
|
||||
`(after! yasnippet
|
||||
(when (boundp 'yas-extra-modes)
|
||||
(when (boundp 'yas--extra-modes)
|
||||
(add-hook ',(intern (concat (symbol-name (cadr mode)) "-hook"))
|
||||
(lambda ()
|
||||
(if (symbol-value ,mode)
|
||||
|
Reference in New Issue
Block a user