diff lisp/doc-view.el @ 95841:b4e36ff621b3

Add some compiler declarations, for builds without X.
author Glenn Morris <rgm@gnu.org>
date Thu, 12 Jun 2008 03:56:20 +0000
parents 88781ac6a1be
children bfca3297fa0b
line wrap: on
line diff
--- a/lisp/doc-view.el	Thu Jun 12 03:54:06 2008 +0000
+++ b/lisp/doc-view.el	Thu Jun 12 03:56:20 2008 +0000
@@ -628,6 +628,8 @@
                  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 @@
 
 ;;;; 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 @@
 `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)))