diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-09-16T20·15-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-09-18T13·42+0000 |
commit | cb0d3ad4167904142e3decd6f0bbac5a587edbd7 (patch) | |
tree | 46626af40ec49f31d13b080b51a55e0fda01ffbf | |
parent | b1a84f001943a20855b38ec0f54d328c99cee17b (diff) |
fix(gs/emacs): Fix undefined variable in magit-clubhouse integration r/1799
Change-Id: Ic56e6f3b1e8fca717c8765eb47739cecf3e5cc56 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1984 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
-rw-r--r-- | users/glittershark/emacs.d/config.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/glittershark/emacs.d/config.el b/users/glittershark/emacs.d/config.el index f584e8c898ce..e7ec4003572c 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 |