From cb574f5d420f049eec327dba50fb3378f19abde9 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 7 Jun 2021 21:04:46 -0400 Subject: [PATCH] cli: show Emacs version at the start of output --- core/core-cli.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core-cli.el b/core/core-cli.el index c1b30fa10..89de27c70 100644 --- a/core/core-cli.el +++ b/core/core-cli.el @@ -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))