parent
1f8bf7accb
commit
6d4b2b48c2
1 changed files with 2 additions and 7 deletions
|
@ -172,7 +172,7 @@ PLIST can have the following properties:
|
||||||
;;; Major mode
|
;;; Major mode
|
||||||
|
|
||||||
(define-derived-mode +doom-dashboard-mode special-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."
|
"Major mode for the DOOM dashboard buffer."
|
||||||
:syntax-table nil
|
:syntax-table nil
|
||||||
:abbrev-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 ()
|
(defun doom-dashboard-widget-footer ()
|
||||||
(insert
|
(insert
|
||||||
(+doom-dashboard--center
|
"\n"
|
||||||
+doom-dashboard--width
|
|
||||||
(propertize (concat "DOOM CORE: " doom-core-version " MODULES: " doom-version)
|
|
||||||
'face 'font-lock-doc-face))
|
|
||||||
"\n\n"
|
|
||||||
(+doom-dashboard--center
|
(+doom-dashboard--center
|
||||||
(- +doom-dashboard--width 2)
|
(- +doom-dashboard--width 2)
|
||||||
(with-temp-buffer
|
(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"))
|
'action (lambda (_) (browse-url "https://github.com/hlissner/doom-emacs"))
|
||||||
'follow-link t
|
'follow-link t
|
||||||
'help-echo "Open Doom Emacs github page")
|
'help-echo "Open Doom Emacs github page")
|
||||||
|
|
||||||
(buffer-string)))
|
(buffer-string)))
|
||||||
"\n"))
|
"\n"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue