From 6f388fa711188813d670aa086f2a6acdbeead69a Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Wed, 25 Jan 2012 13:48:33 +0000 Subject: [PATCH 1/1] 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. --- emacs/notmuch-print.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/notmuch-print.el b/emacs/notmuch-print.el index fd86288a..880f96d9 100644 --- a/emacs/notmuch-print.el +++ b/emacs/notmuch-print.el @@ -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) -- 2.43.0