X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-print.el;h=6dd9f775a9ddba858c9358dc569f70b462f073b1;hp=bca759fafaa373878971624a6b18e522ec368ae5;hb=df3fab18fe70ea750f6f06da30291c67de7e74f2;hpb=07dff496304d6dc2e8033a18691b095ed9cd212f diff --git a/emacs/notmuch-print.el b/emacs/notmuch-print.el index bca759fa..6dd9f775 100644 --- a/emacs/notmuch-print.el +++ b/emacs/notmuch-print.el @@ -1,4 +1,4 @@ -;;; notmuch-print.el --- printing messages from notmuch. +;;; notmuch-print.el --- printing messages from notmuch ;; ;; Copyright © David Edmondson ;; @@ -69,7 +69,7 @@ Optional OUTPUT allows passing a list of flags to muttprint." (defun notmuch-print-ps-print/evince (msg) "Preview a message buffer using ps-print and evince." - (let ((ps-file (make-temp-file "notmuch")) + (let ((ps-file (make-temp-file "notmuch" nil ".ps")) (subject (notmuch-prettify-subject (plist-get (notmuch-show-get-prop :headers msg) :Subject)))) (rename-buffer subject t) @@ -82,7 +82,7 @@ Optional OUTPUT allows passing a list of flags to muttprint." (defun notmuch-print-muttprint/evince (msg) "Preview a message buffer using muttprint and evince." - (let ((ps-file (make-temp-file "notmuch"))) + (let ((ps-file (make-temp-file "notmuch" nil ".ps"))) (notmuch-print-run-muttprint (list "--printer" (concat "TO_FILE:" ps-file))) (notmuch-print-run-evince ps-file)))