ui/doom-dashboard: expand string +doom-dashboard-pwd-policy #309
This commit is contained in:
parent
b331acb46b
commit
6c3d7ad7c7
1 changed files with 1 additions and 1 deletions
|
@ -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)))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue