diff options
| author | Tassilo Horn | 2008-04-15 06:46:11 +0000 |
|---|---|---|
| committer | Tassilo Horn | 2008-04-15 06:46:11 +0000 |
| commit | 1ecc9da7bd39d0b1c6a697b1525ab3a30ce9c761 (patch) | |
| tree | 14e3ee2b10feb8998bf2f8f44a8020f162d84f5d | |
| parent | bd5c2732aa2d2dacb43fe047caf7fc45dc18d342 (diff) | |
| download | emacs-1ecc9da7bd39d0b1c6a697b1525ab3a30ce9c761.tar.gz emacs-1ecc9da7bd39d0b1c6a697b1525ab3a30ce9c761.zip | |
Changed requirements section to tell that only one
of dvipdf or dvipdfm is needed.
(doc-view-already-converted-p): Fix bug that forced reconversion
if doc was already converted.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/doc-view.el | 7 |
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cc9ee1d1f7a..5607a501ef3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2008-04-15 Tassilo Horn <tassilo@member.fsf.org> | ||
| 2 | |||
| 3 | * doc-view.el: Changed requirements section to tell that only one | ||
| 4 | of dvipdf or dvipdfm is needed. | ||
| 5 | (doc-view-already-converted-p): Fix bug that forced reconversion | ||
| 6 | if doc was already converted. | ||
| 7 | |||
| 1 | 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 9 | ||
| 3 | * minibuffer.el (minibuffer-message): Make sure we can put-text-property. | 10 | * minibuffer.el (minibuffer-message): Make sure we can put-text-property. |
diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 4e095c0e676..834c661af43 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el | |||
| @@ -26,8 +26,9 @@ | |||
| 26 | ;;; Requirements: | 26 | ;;; Requirements: |
| 27 | 27 | ||
| 28 | ;; doc-view.el requires GNU Emacs 22.1 or newer. You also need Ghostscript, | 28 | ;; doc-view.el requires GNU Emacs 22.1 or newer. You also need Ghostscript, |
| 29 | ;; `dvipdfm' which comes with teTeX and `pdftotext', which comes with xpdf | 29 | ;; `dvipdf' (comes with Ghostscript) or `dvipdfm' (comes with teTeX or TeXLive) |
| 30 | ;; (http://www.foolabs.com/xpdf/) or poppler (http://poppler.freedesktop.org/). | 30 | ;; and `pdftotext', which comes with xpdf (http://www.foolabs.com/xpdf/) or |
| 31 | ;; poppler (http://poppler.freedesktop.org/). | ||
| 31 | 32 | ||
| 32 | ;;; Commentary: | 33 | ;;; Commentary: |
| 33 | 34 | ||
| @@ -1026,7 +1027,7 @@ If BACKWARD is non-nil, jump to the previous match." | |||
| 1026 | (defun doc-view-already-converted-p () | 1027 | (defun doc-view-already-converted-p () |
| 1027 | "Return non-nil if the current doc was already converted." | 1028 | "Return non-nil if the current doc was already converted." |
| 1028 | (and (file-exists-p (doc-view-current-cache-dir)) | 1029 | (and (file-exists-p (doc-view-current-cache-dir)) |
| 1029 | (> 0 (length (directory-files (doc-view-current-cache-dir) nil "\\.png$"))))) | 1030 | (> (length (directory-files (doc-view-current-cache-dir) nil "\\.png$")) 0))) |
| 1030 | 1031 | ||
| 1031 | (defun doc-view-initiate-display () | 1032 | (defun doc-view-initiate-display () |
| 1032 | ;; Switch to image display if possible | 1033 | ;; Switch to image display if possible |