[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/doc-view.el,v
From: |
Tassilo Horn |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/doc-view.el,v |
Date: |
Sun, 16 Mar 2008 09:24:03 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Tassilo Horn <tsdh> 08/03/16 09:24:02
Index: doc-view.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/doc-view.el,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- doc-view.el 13 Mar 2008 18:11:37 -0000 1.57
+++ doc-view.el 16 Mar 2008 09:24:02 -0000 1.58
@@ -600,8 +600,7 @@
(defun doc-view-doc->txt (txt callback)
"Convert the current document to text and call CALLBACK when done."
- (unless (file-exists-p (doc-view-current-cache-dir))
- (make-directory (doc-view-current-cache-dir)))
+ (make-directory (doc-view-current-cache-dir) t)
(case doc-view-doc-type
(pdf
;; Doc is a PDF, so convert it to TXT
@@ -650,8 +649,7 @@
(setq doc-view-pending-cache-flush t)
(let ((png-file (expand-file-name "page-%d.png"
(doc-view-current-cache-dir))))
- (unless (file-exists-p (doc-view-current-cache-dir))
- (make-directory (doc-view-current-cache-dir)))
+ (make-directory (doc-view-current-cache-dir) t)
(case doc-view-doc-type
(dvi
;; DVI files have to be converted to PDF before Ghostscript can process
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v, Karl Fogel, 2008/03/07
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v, Tassilo Horn, 2008/03/07
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v, Stefan Monnier, 2008/03/08
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v, Stefan Monnier, 2008/03/09
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v, Tassilo Horn, 2008/03/12
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v, Stefan Monnier, 2008/03/12
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v, Tassilo Horn, 2008/03/12
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v, Stefan Monnier, 2008/03/12
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v, Tassilo Horn, 2008/03/13
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v,
Tassilo Horn <=
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v, Tassilo Horn, 2008/03/18
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v, Tassilo Horn, 2008/03/18
- [Emacs-diffs] Changes to emacs/lisp/doc-view.el,v, Stefan Monnier, 2008/03/31