Skip to content

Commit

Permalink
cli: show Emacs version at the start of output
Browse files Browse the repository at this point in the history
  • Loading branch information
hlissner committed Jun 8, 2021
1 parent c34ed0d commit cb574f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/core-cli.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit cb574f5

Please sign in to comment.