Function: doc-view-reconvert-doc
doc-view-reconvert-doc is an interactive and byte-compiled function
defined in doc-view.el.gz.
Signature
(doc-view-reconvert-doc)
Documentation
Reconvert the current document.
Should be invoked when the cached images aren't up-to-date.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/doc-view.el.gz
(defun doc-view-reconvert-doc ()
"Reconvert the current document.
Should be invoked when the cached images aren't up-to-date."
(interactive)
(doc-view-kill-proc)
;; Clear the old cached files
(when (file-exists-p (doc-view--current-cache-dir))
(delete-directory (doc-view--current-cache-dir) 'recursive))
(kill-local-variable 'doc-view-last-page-number)
(doc-view-initiate-display))