mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
cli: show Emacs version at the start of output
This commit is contained in:
@ -133,13 +133,14 @@ Environment variables:
|
||||
(let ((start-time (current-time)))
|
||||
(run-hooks 'doom-cli-pre-hook)
|
||||
(unless (getenv "__DOOMRESTART")
|
||||
(print! (start "Executing 'doom %s' %s")
|
||||
(print! (start "Executing 'doom %s' with Emacs %s at %s")
|
||||
(string-join
|
||||
(cons (or (ignore-errors
|
||||
(doom-cli-name (doom-cli-get command)))
|
||||
command)
|
||||
args)
|
||||
" ")
|
||||
emacs-version
|
||||
(format-time-string "%Y-%m-%d %H:%M:%S")))
|
||||
(print-group!
|
||||
(when-let (result (apply #'doom-cli-execute command args))
|
||||
|
Reference in New Issue
Block a user