[PATCH 2/3] emacs: Don't mark messages as "unsaved" when printing.
David Edmondson
dme at dme.org
Wed Jan 25 05:48:33 PST 2012
`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 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/emacs/notmuch-print.el b/emacs/notmuch-print.el
index f96ccbe..83eb525 100644
--- a/emacs/notmuch-print.el
+++ b/emacs/notmuch-print.el
@@ -80,6 +80,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)
--
1.7.8.3
More information about the notmuch
mailing list