mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-31 14:43:40 -05:00
General cleanup & minor refactoring
This commit is contained in:
@@ -39,9 +39,7 @@
|
||||
|
||||
|
||||
;;
|
||||
(setq initial-major-mode '+doom-dashboard-mode
|
||||
initial-scratch-message "\n Loading..."
|
||||
doom-fallback-buffer +doom-dashboard-name)
|
||||
(setq doom-fallback-buffer +doom-dashboard-name)
|
||||
|
||||
(add-hook 'emacs-startup-hook '+doom-dashboard/open)
|
||||
(@add-hook 'kill-buffer-query-functions
|
||||
@@ -62,7 +60,7 @@
|
||||
|
||||
;;
|
||||
(defun +doom-dashboard/open ()
|
||||
""
|
||||
"Open the dashboard buffer."
|
||||
(interactive)
|
||||
(+doom-dashboard-reload)
|
||||
(switch-to-buffer (doom-fallback-buffer)))
|
||||
|
Reference in New Issue
Block a user