From 0694be43ee2f0c7895fca2f7616537e1a56ae1f4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 16 Sep 2022 19:04:35 +0200 Subject: [PATCH] fix(cli): reference to free variable id Fix: #6791 --- lisp/doom-profiles.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/doom-profiles.el b/lisp/doom-profiles.el index 54da058ac..6c66c92b1 100644 --- a/lisp/doom-profiles.el +++ b/lisp/doom-profiles.el @@ -225,7 +225,7 @@ is non-nil, refresh the cache." (if (or noninteractive (file-equal-p user-emacs-directory "~/.config/emacs") (file-equal-p user-emacs-directory "~/.emacs.d")) - (user-error "Failed to find profile: %s" id) + (user-error "Failed to find profile: %s" (getenv "DOOMPROFILE")) (user-error "To be a bootloader, Doom must be installed in ~/.config/emacs or ~/.emacs.d")))))) :mode #o600 :printfn #'pp)