From 7f2dd52b2e501d5be495f8d32acc30595872d433 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 29 Dec 2017 04:16:14 -0500 Subject: [PATCH] ui/doom-dashboard: add docstring for +doom-dashboard|reload-on-kill --- modules/ui/doom-dashboard/config.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index 92533ce29..debcc73fc 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -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)