diff options
author | David Edmondson <dme@dme.org> | 2012-01-25 13:48:33 +0000 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-01-27 08:01:59 -0400 |
commit | 6f388fa711188813d670aa086f2a6acdbeead69a (patch) | |
tree | e8d5926831437b299acecd8a69a6bee2ba65fdf0 /emacs/notmuch-print.el | |
parent | cd03f214470996ec03b126f86afafef5296fd879 (diff) |
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.
Diffstat (limited to 'emacs/notmuch-print.el')
-rw-r--r-- | 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 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) |