fix(emacs/lean-util): fix lean-path-list to only include existing dirs

Fix #246
This commit is contained in:
Soonho Kong 2014-10-14 20:48:56 -07:00
parent 1915674b4d
commit 4143716311

View file

@ -64,8 +64,9 @@
(--map-when (f-relative? it)
(f-canonical (f-join project-dir it))
path-list)))
(-uniq (-map (-compose 'f-slash 'f-canonical)
path-list))))
(setq path-list (-uniq (-map (-compose 'f-slash 'f-canonical)
path-list)))
(--filter (f-directory? it) path-list)))
(defun lean-letter-like-unicode-p (u)
(when u