diff options
author | Glenn Morris <rgm@gnu.org> | 2013-09-17 19:50:04 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-09-17 19:50:04 -0700 |
commit | e740f9d245b007e51fcc706338a4a1ac450c8307 (patch) | |
tree | 5c77f31de5804c1ee09b1b9f740294730ce400fd /lisp/simple.el | |
parent | 91c837fe7281b7588a8bfbd4c265a6d8cef69fb9 (diff) | |
download | emacs-e740f9d245b007e51fcc706338a4a1ac450c8307.tar.gz emacs-e740f9d245b007e51fcc706338a4a1ac450c8307.tar.bz2 emacs-e740f9d245b007e51fcc706338a4a1ac450c8307.zip |
Silence some --without-x compilation warnings
* custom.el (x-get-resource): Declare.
* frame.el (x-display-grayscale-p): Declare.
* simple.el (font-info): Declare.
* window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
(fit-frame-to-buffer): Explicit error if --without-x.
(mouse-autoselect-window-select): Silence compiler.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r-- | lisp/simple.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 34774712437..bf531de8ae4 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4714,6 +4714,9 @@ lines." :group 'editing-basics :version "23.1") +;; Only used if display-graphic-p. +(declare-function font-info "font.c" (name &optional frame)) + (defun default-font-height () "Return the height in pixels of the current buffer's default face font." (let ((default-font (face-font 'default))) |