Explorar o código

Delete postscript file after creating conversion to pdf

* org-agenda.el (org-write-agenda): Delete postscript file after
creating conversion to pdf.
David Maus %!s(int64=15) %!d(string=hai) anos
pai
achega
6d9fcf8ff4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)