diff options
author | Glenn Morris <rgm@gnu.org> | 2018-02-28 16:55:41 -0500 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2018-02-28 16:55:41 -0500 |
commit | d5f6ff99c2b594919931b277a2d94d3a289ca764 (patch) | |
tree | fd425d3d5de36291edbe67763de8a619ab7e2fc6 /lisp/org/ox-odt.el | |
parent | e1a26cdad98ae101fe03bd5484974f7db1cbfd59 (diff) | |
download | emacs-d5f6ff99c2b594919931b277a2d94d3a289ca764.tar.gz |
Quieten without-x org compilation
* lisp/org/org.el (image-refresh):
* lisp/org/ox-odt.el (clear-image-cache, image-size): Declare.
Diffstat (limited to 'lisp/org/ox-odt.el')
-rw-r--r-- | lisp/org/ox-odt.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/org/ox-odt.el b/lisp/org/ox-odt.el index cdee568fc81..1fc697a6a86 100644 --- a/lisp/org/ox-odt.el +++ b/lisp/org/ox-odt.el @@ -2192,6 +2192,10 @@ SHORT-CAPTION are strings." (org-odt-create-manifest-file-entry media-type target-file) target-file)) +;; For --without-x builds. +(declare-function clear-image-cache "image.c" (&optional filter)) +(declare-function image-size "image.c" (spec &optional pixels frame)) + (defun org-odt--image-size (file info &optional user-width user-height scale dpi embed-as) (let* ((--pixels-to-cms |