From 09d24cd68ad8e69b8963f3676580b53d74692875 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 17 Sep 2022 20:15:57 +0200 Subject: [PATCH] fix(cli): type error trying to split a cons cell doom-profile was changed to a cons cell in 18cd2eb. Amend: 18cd2eb483f3 --- lisp/cli/sync.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/cli/sync.el b/lisp/cli/sync.el index c6a18908b..4604fc774 100644 --- a/lisp/cli/sync.el +++ b/lisp/cli/sync.el @@ -52,9 +52,7 @@ OPTIONS: (when jobs (setq native-comp-async-jobs-number (truncate jobs))) (print! (start "Synchronizing %S profile..." ) - (if doom-profile - (car (split-string doom-profile "@")) - "default")) + (or (car doom-profile) "default")) (unwind-protect (print-group! (when (and (not noenvvar?)