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.
This commit is contained in:
Carl Worth 2009-11-21 00:53:27 +01:00
parent d295f50ac7
commit aa46a34408

View file

@ -694,7 +694,7 @@ thread from that buffer can be show when done with this one)."
(let ((proc (get-buffer-process (current-buffer))) (let ((proc (get-buffer-process (current-buffer)))
(inhibit-read-only t)) (inhibit-read-only t))
(if proc (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) (erase-buffer)
(goto-char (point-min)) (goto-char (point-min))