]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch.el: Fix stale reference to non-existing variable.
authorCarl Worth <cworth@cworth.org>
Fri, 20 Nov 2009 23:53:27 +0000 (00:53 +0100)
committerCarl Worth <cworth@cworth.org>
Fri, 20 Nov 2009 23:53:27 +0000 (00:53 +0100)
We changed from "query" to "thread-id" a while ago, and broke this
error message at the time. Fix it now.

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
     (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))
        )
       (erase-buffer)
       (goto-char (point-min))