summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-mail.el6
1 files 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))))