diff options
| author | Glenn Morris | 2018-02-26 22:47:27 -0800 |
|---|---|---|
| committer | Glenn Morris | 2018-02-26 22:47:27 -0800 |
| commit | ea2008aeebaaaca7571dd665d54eeddcd6d2c84c (patch) | |
| tree | bdbca3413a18ed95e8bd00902d7dcde4389bf6bc | |
| parent | fe9b612123cbcb74b79c3f8eb4043a1ad3ebb3a6 (diff) | |
| download | emacs-ea2008aeebaaaca7571dd665d54eeddcd6d2c84c.tar.gz emacs-ea2008aeebaaaca7571dd665d54eeddcd6d2c84c.zip | |
Quieten without-x, without-xml2 builds
* lisp/help.el (x-display-pixel-height, x-display-pixel-width):
* lisp/image.el (image-flush, image-size):
* lisp/textmodes/sgml-mode.el (libxml-parse-html-region):
Declare for compiler.
| -rw-r--r-- | lisp/help.el | 3 | ||||
| -rw-r--r-- | lisp/image.el | 3 | ||||
| -rw-r--r-- | lisp/textmodes/sgml-mode.el | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/lisp/help.el b/lisp/help.el index dcf1f32069b..e9235460329 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -1059,6 +1059,9 @@ is currently activated with completion." | |||
| 1059 | (setq minor-modes (cdr minor-modes))))) | 1059 | (setq minor-modes (cdr minor-modes))))) |
| 1060 | result)) | 1060 | result)) |
| 1061 | 1061 | ||
| 1062 | (declare-function x-display-pixel-height "xfns.c" (&optional terminal)) | ||
| 1063 | (declare-function x-display-pixel-width "xfns.c" (&optional terminal)) | ||
| 1064 | |||
| 1062 | ;;; Automatic resizing of temporary buffers. | 1065 | ;;; Automatic resizing of temporary buffers. |
| 1063 | (defcustom temp-buffer-max-height | 1066 | (defcustom temp-buffer-max-height |
| 1064 | (lambda (_buffer) | 1067 | (lambda (_buffer) |
diff --git a/lisp/image.el b/lisp/image.el index b5f22351377..b69bf930545 100644 --- a/lisp/image.el +++ b/lisp/image.el | |||
| @@ -29,6 +29,7 @@ | |||
| 29 | "Image support." | 29 | "Image support." |
| 30 | :group 'multimedia) | 30 | :group 'multimedia) |
| 31 | 31 | ||
| 32 | (declare-function image-flush "image.c" (spec &optional frame)) | ||
| 32 | (defalias 'image-refresh 'image-flush) | 33 | (defalias 'image-refresh 'image-flush) |
| 33 | 34 | ||
| 34 | (defconst image-type-header-regexps | 35 | (defconst image-type-header-regexps |
| @@ -1001,6 +1002,8 @@ default is 20%." | |||
| 1001 | (setq new (nconc new (list key val)))))) | 1002 | (setq new (nconc new (list key val)))))) |
| 1002 | new))) | 1003 | new))) |
| 1003 | 1004 | ||
| 1005 | (declare-function image-size "image.c" (spec &optional pixels frame)) | ||
| 1006 | |||
| 1004 | (defun image--current-scaling (image new-image) | 1007 | (defun image--current-scaling (image new-image) |
| 1005 | ;; The image may be scaled due to many reasons (:scale, :max-width, | 1008 | ;; The image may be scaled due to many reasons (:scale, :max-width, |
| 1006 | ;; etc), so find out what the current scaling is based on the | 1009 | ;; etc), so find out what the current scaling is based on the |
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index eb6ebf52807..f6bdfc63844 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el | |||
| @@ -2232,6 +2232,9 @@ buffer's tick counter (as produced by `buffer-modified-tick'), | |||
| 2232 | and the CDR is the list of class names found in the buffer.") | 2232 | and the CDR is the list of class names found in the buffer.") |
| 2233 | (make-variable-buffer-local 'html--buffer-ids-cache) | 2233 | (make-variable-buffer-local 'html--buffer-ids-cache) |
| 2234 | 2234 | ||
| 2235 | (declare-function libxml-parse-html-region "xml.c" | ||
| 2236 | (start end &optional base-url discard-comments)) | ||
| 2237 | |||
| 2235 | (defun html-current-buffer-classes () | 2238 | (defun html-current-buffer-classes () |
| 2236 | "Return a list of class names used in the current buffer. | 2239 | "Return a list of class names used in the current buffer. |
| 2237 | The result is cached in `html--buffer-classes-cache'." | 2240 | The result is cached in `html--buffer-classes-cache'." |