From 6d9fcf8ff43be2fc83edc077227eef0ce72172f7 Mon Sep 17 00:00:00 2001 From: David Maus Date: Thu, 19 Aug 2010 21:54:12 +0200 Subject: [PATCH] Delete postscript file after creating conversion to pdf * org-agenda.el (org-write-agenda): Delete postscript file after creating conversion to pdf. --- lisp/org-agenda.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 7d37187cf..90c0fe100 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -2549,6 +2549,7 @@ higher priority settings." (expand-file-name (concat (file-name-sans-extension file) ".ps")) (expand-file-name file)) + (delete-file (concat (file-name-sans-extension file) ".ps")) (message "PDF written to %s" file)) ((string-match "\\.ics\\'" file) (require 'org-icalendar) -- 2.11.4.GIT