Browse Source

Delete postscript file after creating conversion to pdf

* org-agenda.el (org-write-agenda): Delete postscript file after
creating conversion to pdf.
David Maus 15 years ago
parent
commit
6d9fcf8ff4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lisp/org-agenda.el

+ 1 - 0
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)