ui/doom-dashboard: fix 'last pwd policy

This commit is contained in:
Henrik Lissner 2017-12-28 19:58:27 -05:00
parent fcadde3ef9
commit 58b2605215
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -130,7 +130,8 @@ whose dimensions may not be fully initialized by the time this is run."
(if (doom-project-p)
(doom-project-root)
cwd)))
((eq policy 'last))
((eq policy 'last)
lastcwd)
((stringp policy)
(expand-file-name policy lastcwd))
((functionp policy)