mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
ui/doom-dashboard: expand string +doom-dashboard-pwd-policy #309
This commit is contained in:
@ -125,7 +125,7 @@ whose dimensions may not be fully initialized by the time this is run."
|
||||
(pcase +doom-dashboard-pwd-policy
|
||||
(`last-project (doom-project-root))
|
||||
(`last default-directory)
|
||||
((pred stringp) +doom-dashboard-pwd-policy)
|
||||
((pred stringp) (expand-file-name +doom-dashboard-pwd-policy))
|
||||
((pred functionp) (funcall +doom-dashboard-pwd-policy default-directory))
|
||||
(_ (warn "`+doom-dashboard-pwd-policy' has an invalid value of '%s'"
|
||||
+doom-dashboard-pwd-policy)))))))
|
||||
|
Reference in New Issue
Block a user