From 2de038abaf7d51d1eea3b14a7564842bb3e26222 Mon Sep 17 00:00:00 2001 From: Miranda Marquez Date: Sun, 7 Apr 2024 15:40:29 -0800 Subject: [PATCH] branch no longer appears as "nil" --- p11k.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p11k.el b/p11k.el index 1d6eb37..f1e345c 100644 --- a/p11k.el +++ b/p11k.el @@ -265,7 +265,7 @@ Use 'window-width' to calculate the total final width." nil)))) (p11k/spaced-concat (if (eq p11k/prompt-flow 'fluent) "on" "") - (propertize branch 'face 'p11k/green) + (if branch (propertize branch 'face 'p11k/green) "") (if modcount (propertize modcount 'face 'p11k/yellow) "") (if untracked (propertize untracked 'face 'p11k/blue) ""))) ""))