General cleanup & minor refactoring
This commit is contained in:
parent
b6f4fe667a
commit
4910531457
5 changed files with 12 additions and 12 deletions
|
@ -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)))
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
;;; ui/doom-modeline/config.el
|
||||
|
||||
(line-number-mode -1)
|
||||
|
||||
;; all-the-icons doesn't work in the terminal, so we "disable" it.
|
||||
(unless (display-graphic-p)
|
||||
(defalias 'all-the-icons-octicon 'ignore)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue