Fix +doom-dashboard-p

This commit is contained in:
Henrik Lissner 2018-07-04 23:14:12 +02:00
parent 57bad58dea
commit ebd4d19fa4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -265,7 +265,7 @@ project (which may be different across perspective)."
(defun +doom-dashboard-p (buffer)
"Returns t if BUFFER is the dashboard buffer."
(eq (buffer-name buffer) +doom-dashboard-name))
(eq buffer (get-buffer +doom-dashboard-name)))
(defun +doom-dashboard-update-pwd (&optional pwd)
"Update `default-directory' in the Doom dashboard buffer. What it is set to is