]> git.eshelyaron.com Git - emacs.git/commit
Address some --without-x byte-compilation warnings
authorBasil L. Contovounesios <contovob@tcd.ie>
Fri, 26 Mar 2021 17:13:59 +0000 (17:13 +0000)
committerBasil L. Contovounesios <contovob@tcd.ie>
Fri, 26 Mar 2021 17:35:34 +0000 (17:35 +0000)
commit331ddd803a72056d0f0c70e5a677e0d4a6300584
tree7af07b75e20d604a9098cf57e7587cd3c6c5d782
parentbc506441372726341b6d95abb85011dba6d897ea
Address some --without-x byte-compilation warnings

These came to light in the contexts of bug#29713 and bug#47234.

* lisp/emulation/edt-mapper.el (edt-xserver):
* lisp/emulation/edt.el (edt-xserver):
* lisp/gnus/gnus-util.el (gnus-rescale-image):
* lisp/gnus/nnimap.el (nnimap-map-port):
* lisp/term/w32-win.el:
* lisp/image.el (image--get-imagemagick-and-warn):
* lisp/frame.el (frame-notice-user-settings): Declare functions that
are known to be present at runtime in GUI builds.
(make-frame-on-display): Signal more informative error when called
interactively in a non-GUI build (bug#29713).
* lisp/international/mule-diag.el (describe-font):
* lisp/org/org-macs.el (org--string-from-props): Pacify warnings
about unknown functions in non-GUI bilds.
* lisp/mh-e/mh-mime.el (mh-small-image-p): Avoid eliminating fboundp
check in non-GUI builds, to pacify unused lexical variable warning.
* lisp/net/newst-plainview.el (newsticker--plainview-tool-bar-map):
* lisp/net/newst-treeview.el (newsticker-treeview-tool-bar-map):
Declare tool-bar-map as a special variable in non-GUI builds.
12 files changed:
lisp/emulation/edt-mapper.el
lisp/emulation/edt.el
lisp/frame.el
lisp/gnus/gnus-util.el
lisp/gnus/nnimap.el
lisp/image.el
lisp/international/mule-diag.el
lisp/mh-e/mh-mime.el
lisp/net/newst-plainview.el
lisp/net/newst-treeview.el
lisp/org/org-macs.el
lisp/term/w32-win.el