From ba2089e26e4964361b258de66ad9198624ffbf1e Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 5 Jun 2021 17:14:02 -0400 Subject: piem-lei-query-thread: Use piem-lei-get-mid to get message ID piem-lei-query-thread uses piem-lei-query-get-mid to get the message ID for interactive calls. Switch to piem-lei-get-mid, which uses piem-lei-query-get-mid underneath, so that the message ID can also be extracted from piem-lei-show-mode buffers. Message-Id: <20210605211402.20304-19-kyle@kyleam.com> --- piem-lei.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piem-lei.el b/piem-lei.el index bcc2589..5795087 100644 --- a/piem-lei.el +++ b/piem-lei.el @@ -498,7 +498,7 @@ Return a list with a `piem-lei-msg' object for each root." (defun piem-lei-query-thread (mid) "Show thread containing message MID." (interactive - (list (or (piem-lei-query-get-mid) + (list (or (piem-lei-get-mid) (read-string "Message ID: " nil nil (piem-mid))))) (let* ((records (piem-lei-query--slurp (list "--threads" (concat "m:" mid)))) -- cgit v1.2.3