fix(doom-dashboard): revert unintended changes

Amend: b5a2aa48fe
This commit is contained in:
Henrik Lissner 2022-08-03 03:30:42 +02:00
parent 1f8bf7accb
commit 6d4b2b48c2
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -172,7 +172,7 @@ PLIST can have the following properties:
;;; Major mode
(define-derived-mode +doom-dashboard-mode special-mode
(format "DOOM v%s" doom-core-version)
(format "DOOM v%s" doom-version)
"Major mode for the DOOM dashboard buffer."
:syntax-table nil
:abbrev-table nil
@ -512,11 +512,7 @@ What it is set to is controlled by `+doom-dashboard-pwd-policy'."
(defun doom-dashboard-widget-footer ()
(insert
(+doom-dashboard--center
+doom-dashboard--width
(propertize (concat "DOOM CORE: " doom-core-version " MODULES: " doom-version)
'face 'font-lock-doc-face))
"\n\n"
"\n"
(+doom-dashboard--center
(- +doom-dashboard--width 2)
(with-temp-buffer
@ -525,6 +521,5 @@ What it is set to is controlled by `+doom-dashboard-pwd-policy'."
'action (lambda (_) (browse-url "https://github.com/hlissner/doom-emacs"))
'follow-link t
'help-echo "Open Doom Emacs github page")
(buffer-string)))
"\n"))