mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
refactor: adopt CalVer and reorganize core.el
Doom is adopting CalVer (starting at 21.12) and, later, I'll move Doom's core out to a separate repo, where it'll stay with SemVer (starting at 3.0).
This commit is contained in:
@ -222,12 +222,16 @@ ready to be pasted in a bug report on github."
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/version ()
|
||||
"Display the current version of Doom & Emacs, including the current Doom
|
||||
branch and commit."
|
||||
"Display the current version and ocmit of Doom & Emacs."
|
||||
(interactive)
|
||||
(let ((default-directory doom-core-dir))
|
||||
(print! "Doom v%s (%s)"
|
||||
(let ((default-directory doom-emacs-dir))
|
||||
(print! "Doom emacs\tv%-15s %s"
|
||||
doom-version
|
||||
(or (cdr (doom-call-process "git" "log" "-1" "--format=%D %h %ci"))
|
||||
"n/a")))
|
||||
(let ((default-directory doom-core-dir))
|
||||
(print! "Doom core\tv%-15s %s"
|
||||
doom-core-version
|
||||
(or (cdr (doom-call-process "git" "log" "-1" "--format=%D %h %ci"))
|
||||
"n/a"))))
|
||||
|
||||
|
Reference in New Issue
Block a user