From: Carl Worth <cworth@cworth.org>
Date: Fri, 20 Nov 2009 23:53:27 +0000 (+0100)
Subject: notmuch.el: Fix stale reference to non-existing variable.
X-Git-Tag: 0.1~396
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=aa46a34408709a6434c8b2bfa438de9b33c04211;p=obsolete%2Fnotmuch-old

notmuch.el: Fix stale reference to non-existing variable.

We changed from "query" to "thread-id" a while ago, and broke this
error message at the time. Fix it now.
---

diff --git a/notmuch.el b/notmuch.el
index fa39da62..0e4c7813 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -694,7 +694,7 @@ thread from that buffer can be show when done with this one)."
     (let ((proc (get-buffer-process (current-buffer)))
 	  (inhibit-read-only t))
       (if proc
-	  (error "notmuch search process already running for query `%s'" query)
+	  (error "notmuch search process already running for query `%s'" thread-id)
 	)
       (erase-buffer)
       (goto-char (point-min))