neotree: neo-global--with-window => neo-global--with-buffer

This commit is contained in:
Henrik Lissner 2016-06-05 00:52:32 -04:00
parent 718a84bc68
commit ff10cc9458

View File

@ -13,7 +13,7 @@
(neotree-hide)
(let ((project-root (doom/project-root)))
(unless (and (neo-global--window-exists-p)
(f-same? (neo-global--with-window neo-buffer--start-node) project-root))
(f-same? (neo-global--with-buffer neo-buffer--start-node) project-root))
(neotree-dir project-root))
(neotree-find path project-root)))))