From b183a0835dc33edc071add7cb8c0ecdb7a3b2eeb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 15 Sep 2022 02:22:40 +0200 Subject: [PATCH] feat(lib): add active profile to doom-info --- lisp/lib/debug.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/lib/debug.el b/lisp/lib/debug.el index 75b814c44..ee6e156c5 100644 --- a/lisp/lib/debug.el +++ b/lisp/lib/debug.el @@ -261,6 +261,11 @@ ready to be pasted in a bug report on github." (substring emacs-repository-version 0 9)) (symlink-path doom-emacs-dir)))) (doom . ,(list doom-version + (if doom-profile + (format "PROFILE=%s@%s" + (car doom-profile) + (cdr doom-profile)) + "PROFILE=_@0") (sh "git" "log" "-1" "--format=%D %h %ci") (symlink-path doom-user-dir))) (shell . ,(abbrev-path shell-file-name))