Quieten without-x org compilation

* lisp/org/org.el (image-refresh):
* lisp/org/ox-odt.el (clear-image-cache, image-size): Declare.
This commit is contained in:
Glenn Morris 2018-02-28 16:55:41 -05:00
parent e1a26cdad9
commit d5f6ff99c2
2 changed files with 8 additions and 1 deletions

View file

@ -19316,6 +19316,9 @@ INCLUDE-LINKED is passed to `org-display-inline-images'."
(org-toggle-inline-images)
(org-toggle-inline-images)))
;; For without-x builds.
(declare-function image-refresh "image" (spec &optional frame))
(defun org-display-inline-images (&optional include-linked refresh beg end)
"Display inline images.
@ -22905,7 +22908,7 @@ matches in paragraphs or comments, use it."
(match-string 0)
"")))))))))))
(declare-function message-goto-body "message" ())
(declare-function message-goto-body "message" (&optional interactive))
(defvar message-cite-prefix-regexp) ; From message.el
(defun org-fill-element (&optional justify)

View file

@ -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