diff options
Diffstat (limited to 'modes/agent-shell/evil-collection-agent-shell.el')
| -rw-r--r-- | modes/agent-shell/evil-collection-agent-shell.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)))) |
