From 3bb356bf3a196da0e14be2fc56d62920311bcc51 Mon Sep 17 00:00:00 2001 From: James Nguyen Date: Mon, 27 Apr 2026 02:34:33 -0400 Subject: Use when-let* --- modes/agent-shell/evil-collection-agent-shell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modes/agent-shell/evil-collection-agent-shell.el b/modes/agent-shell/evil-collection-agent-shell.el index 0b5fa46..b3aeecd 100644 --- a/modes/agent-shell/evil-collection-agent-shell.el +++ b/modes/agent-shell/evil-collection-agent-shell.el @@ -57,7 +57,7 @@ Walks the buffer backward from `point-max' looking for text with the marker that `agent-shell--make-permission-button' adds to each button." (save-excursion (goto-char (point-max)) - (when-let ((match (text-property-search-backward + (when-let* ((match (text-property-search-backward 'agent-shell-permission-button t t))) (get-text-property (prop-match-beginning match) 'keymap)))) -- cgit v1.0