ui/doom-dashboard: add docstring for +doom-dashboard|reload-on-kill
This commit is contained in:
parent
54001de36e
commit
7f2dd52b2e
1 changed files with 5 additions and 1 deletions
|
@ -77,7 +77,11 @@ if in a GUI/non-daemon session."
|
|||
(+doom-dashboard/open (selected-frame)))))
|
||||
|
||||
(defun +doom-dashboard|reload-on-kill ()
|
||||
"TODO"
|
||||
"If this isn't a dashboard buffer, move along, but record its
|
||||
`default-directory' if the buffer is real. See `doom-real-buffer-p' for an
|
||||
explanation for what 'real' means.
|
||||
|
||||
If this is the dashboard buffer, reload the dashboard."
|
||||
(or (unless (+doom-dashboard-p)
|
||||
(when (doom-real-buffer-p)
|
||||
(setq +doom-dashboard--last-cwd default-directory)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue