summaryrefslogtreecommitdiff
path: root/lisp/doc-view.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/doc-view.el')
-rw-r--r--lisp/doc-view.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 3cf6d8cf1e8..3840c5c81bd 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -628,6 +628,8 @@ Call CALLBACK with no arguments when done."
pdf))
callback))
+(declare-function clear-image-cache "image.c" (&optional filter))
+
(defun doc-view-pdf->png (pdf png pages)
"Convert a PDF file to PNG asynchronously.
Start by converting PAGES, and then the rest."
@@ -728,6 +730,8 @@ Those files are saved in the directory given by the function
;;;; Slicing
+(declare-function image-size "image.c" (spec &optional pixels frame))
+
(defun doc-view-set-slice (x y width height)
"Set the slice of the images that should be displayed.
You can use this function to tell doc-view not to display the
@@ -864,6 +868,8 @@ For now these keys are useful:
`k' : Kill the conversion process and this buffer.
`K' : Kill the conversion process.\n"))))
+(declare-function tooltip-show "tooltip" (text &optional use-echo-area))
+
(defun doc-view-show-tooltip ()
(interactive)
(tooltip-show (doc-view-current-info)))