]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch.el
Don't use kill-this-buffer to kill notmuch emacs buffers
[notmuch] / emacs / notmuch.el
index 2a87ab92ca5261013e6407914f2413256ed3fbf3..4a9223e4dfa8f1f0e95c76e10219a8f1a1863581 100644 (file)
@@ -232,7 +232,7 @@ For a mouse binding, return nil."
   "Exit the search buffer, calling any defined continuation function."
   (interactive)
   (let ((continuation notmuch-search-continuation))
-    (kill-this-buffer)
+    (notmuch-kill-this-buffer)
     (when continuation
       (funcall continuation))))
 
@@ -824,7 +824,7 @@ same relative position within the new buffer."
        (target-thread (notmuch-search-find-thread-id))
        (query notmuch-search-query-string)
        (continuation notmuch-search-continuation))
-    (kill-this-buffer)
+    (notmuch-kill-this-buffer)
     (notmuch-search query oldest-first target-thread target-line continuation)
     (goto-char (point-min))))