]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-print.el
emacs: Don't mark messages as "unsaved" when printing.
[notmuch] / emacs / notmuch-print.el
index fd86288acc62761442a297ef3b2cf6aa37f884ac..880f96d9053f38c3e7ad5a0837e874db7b8a89d2 100644 (file)
@@ -82,6 +82,7 @@ Optional OUTPUT allows passing a list of flags to muttprint."
 
 (defun notmuch-print-message (msg)
   "Print a message using the user-selected mechanism."
+  (set-buffer-modified-p nil)
   (funcall notmuch-print-mechanism msg))
 
 (provide 'notmuch-print)