Fix neotree always changing root

This commit is contained in:
Henrik Lissner 2017-09-03 21:58:46 +02:00
parent 33428bca89
commit 8bacb2512a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -9,7 +9,6 @@
(require 'neotree)
(cond ((and (neo-global--window-exists-p)
(get-buffer-window neo-buffer-name t))
(neotree-hide)
(neotree-find path project-root))
((not (and (neo-global--window-exists-p)
(equal (file-truename (neo-global--with-buffer neo-buffer--start-node))