emacs: Don't mark messages as "unsaved" when printing.

`ps-print-buffer' notes that a buffer is unsaved unless
`buffer-modified-p' returns `nil', so ensure that it does.
This commit is contained in:
David Edmondson 2012-01-25 13:48:33 +00:00 committed by David Bremner
parent cd03f21447
commit 6f388fa711

View 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)