From 1baf95772d553534837a6d72e20a62a7cf903c72 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 17 Aug 2020 00:25:31 -0400 Subject: km/notmuch-show-at-point: Drop pointless regexp group --- lisp/km-mail.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/km-mail.el b/lisp/km-mail.el index 6662ffd..5b9b26d 100644 --- a/lisp/km-mail.el +++ b/lisp/km-mail.el @@ -98,12 +98,12 @@ (let ((id (save-excursion (skip-syntax-backward "^\\s-") (and (looking-at - (rx (group (zero-or-one "<")) + (rx (zero-or-one "<") (group (zero-or-one (or "id:" "thread:"))) (group (one-or-more (any "-" "_" "." "@" "/" alnum))))) - (concat (let ((prefix (match-string 2))) + (concat (let ((prefix (match-string 1))) (if (string= prefix "") "id:" prefix)) - (match-string-no-properties 3)))))) + (match-string-no-properties 2)))))) (if id (notmuch-show id) (call-interactively #'notmuch-show)))) -- cgit v1.2.3