projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd03f21
)
emacs: Don't mark messages as "unsaved" when printing.
author
David Edmondson
<dme@dme.org>
Wed, 25 Jan 2012 13:48:33 +0000
(13:48 +0000)
committer
David Bremner
<bremner@debian.org>
Fri, 27 Jan 2012 12:01:59 +0000
(08:01 -0400)
`ps-print-buffer' notes that a buffer is unsaved unless
`buffer-modified-p' returns `nil', so ensure that it does.
emacs/notmuch-print.el
patch
|
blob
|
history
diff --git
a/emacs/notmuch-print.el
b/emacs/notmuch-print.el
index fd86288acc62761442a297ef3b2cf6aa37f884ac..880f96d9053f38c3e7ad5a0837e874db7b8a89d2 100644
(file)
--- 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)