fix(emacs/lean-util): fix lean-path-list to only include existing dirs
Fix #246
This commit is contained in:
parent
1915674b4d
commit
4143716311
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue