diff options
author | Glenn Morris <rgm@gnu.org> | 2008-06-12 03:56:20 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-06-12 03:56:20 +0000 |
commit | aa360da10dc1130e40bb82225ee8988a2465f38a (patch) | |
tree | 24fea572da73c841761a9d8d8d59645bfa61d926 /lisp/doc-view.el | |
parent | 1ad31f1bbae0aa9de6ff997803dcb4466b24e47d (diff) | |
download | emacs-aa360da10dc1130e40bb82225ee8988a2465f38a.tar.gz |
Add some compiler declarations, for builds without X.
Diffstat (limited to 'lisp/doc-view.el')
-rw-r--r-- | lisp/doc-view.el | 6 |
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))) |