]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.el
notmuch.el: Fix stale reference to non-existing variable.
[notmuch] / notmuch.el
index fa39da62dd43434e5c69db560f658a24904f7b06..0e4c78136b0cd518c22303763c3d864e7ffd9a7f 100644 (file)
@@ -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))