Commit a0285039 authored by guobao.jiang's avatar guobao.jiang

double check neo-autorefresh

parent 5fa4f5d9
......@@ -748,7 +748,7 @@ If INIT-P is non-nil and global NeoTree buffer not exists, then create it."
(defun neo-global--do-autorefresh ()
"Do auto refresh."
(interactive)
(when (neo-global--window-exists-p)
(when (and neo-autorefresh (neo-global--window-exists-p))
(neotree-refresh t)))
(defun neo-global--open ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment