From cb0d3ad4167904142e3decd6f0bbac5a587edbd7 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 16 Sep 2020 16:15:31 -0400 Subject: fix(gs/emacs): Fix undefined variable in magit-clubhouse integration Change-Id: Ic56e6f3b1e8fca717c8765eb47739cecf3e5cc56 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1984 Reviewed-by: glittershark Tested-by: BuildkiteCI --- users/glittershark/emacs.d/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/glittershark/emacs.d/config.el') diff --git a/users/glittershark/emacs.d/config.el b/users/glittershark/emacs.d/config.el index f584e8c898..e7ec400357 100644 --- a/users/glittershark/emacs.d/config.el +++ b/users/glittershark/emacs.d/config.el @@ -602,7 +602,7 @@ (format "gs/ch%d/%s" story-id desc)))) (defun magit-read-org-clubhouse-branch-args () - (if (org-clubhouse-clocked-in-story-id) + (if-let ((story-id (org-clubhouse-clocked-in-story-id))) (let ((start-point (magit-read-starting-point "Create and checkout branch for Clubhouse story" nil -- cgit 1.4.1