diff --git a/git-gutter.el b/git-gutter.el index 6e137a8..05afb1f 100644 --- a/git-gutter.el +++ b/git-gutter.el @@ -250,8 +250,8 @@ Argument TEST is the case before BODY execution." (defun git-gutter:in-git-repository-p () (when (executable-find "git" t) (with-temp-buffer - (when-let ((exec-result (git-gutter:execute-command - "git" t "rev-parse" "--is-inside-work-tree"))) + (when-let* ((exec-result (git-gutter:execute-command + "git" t "rev-parse" "--is-inside-work-tree"))) (when (zerop exec-result) (goto-char (point-min)) (looking-at-p "true"))))))