From 3bdead17db7b84270c00e5a6b5ad02fa87ddd52e Mon Sep 17 00:00:00 2001 From: Shun-ichi Tahara <115684862+jado4810@users.noreply.github.com> Date: Thu, 12 Dec 2024 23:15:35 +0900 Subject: [PATCH] Change `when-let` to `when-let*` since it will be obsolete by emacs31 (#236) --- git-gutter.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"))))))