]> git.eshelyaron.com Git - emacs.git/commit
Fix byte-compilation warnings in nox builds
authorBasil L. Contovounesios <contovob@tcd.ie>
Mon, 11 Oct 2021 18:14:23 +0000 (19:14 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Tue, 12 Oct 2021 21:32:03 +0000 (22:32 +0100)
commitbcb43fbc95ad0c635c8f19c391ec90d3f8a74035
tree8d3c67e6e4d96c1408f35f6fe1681e28318b6b3c
parente47b85a68339063dd3a784e8b90aecbf90b23f41
Fix byte-compilation warnings in nox builds

For discussion, see bug#51139.

* lisp/edmacro.el (edmacro-fix-menu-commands): Load mwheel to pacify
free variable warnings in without-x builds.

* lisp/mh-e/mh-compat.el: Declare image.el functions that are not
preloaded in without-x builds.
* lisp/mh-e/mh-utils.el (mh--with-image-load-path): New macro.
(mh-logo-display):
* lisp/mh-e/mh-tool-bar.el (mh-tool-bar-folder-buttons-init)
(mh-tool-bar-letter-buttons-init): Use it to pacify byte-compilation
warnings about image.el definitions not preloaded without-x.
lisp/edmacro.el
lisp/mh-e/mh-compat.el
lisp/mh-e/mh-tool-bar.el
lisp/mh-e/mh-utils.el