]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix byte-compilation warnings in --without-x build
authorEli Zaretskii <eliz@gnu.org>
Thu, 11 May 2023 13:25:46 +0000 (16:25 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 11 May 2023 13:25:46 +0000 (16:25 +0300)
* lisp/x-dnd.el (mwheel):
* lisp/term/haiku-win.el (mwheel): Require.
* lisp/progmodes/prog-mode.el (treesit-node-at):
* lisp/dynamic-setting.el (reconsider-frame-font): Declare.
(Bug#63415)

lisp/dynamic-setting.el
lisp/progmodes/prog-mode.el
lisp/term/haiku-win.el
lisp/x-dnd.el

index 9ce0965734526ed2f01a3f7e6986521db2a62cee..ebe25ab9c75c261c0c5ea5168e664bf6f06c6ab7 100644 (file)
@@ -33,6 +33,7 @@
 ;;; Customizable variables
 
 (declare-function font-get-system-font "xsettings.c" ())
+(declare-function reconsider-frame-font "frame.c" ())
 
 (defvar font-use-system-font)
 
index 04071703184c2c636a56a112190310dd65b18e08..a434c7e9058c6f5fcd6d8d230448dc60cadd55aa 100644 (file)
@@ -36,6 +36,7 @@
 (declare-function treesit-available-p "treesit.c")
 (declare-function treesit-parser-list "treesit.c")
 (declare-function treesit-node-type "treesit.c")
+(declare-function treesit-node-at "treesit.c")
 
 (defgroup prog-mode nil
   "Generic programming mode, from which others derive."
index ae5a2f2fc6ba42c96d15d566784e81363c542883..50c9cb5b9d4996da1e0000daed7d937d88aa6ee4 100644 (file)
@@ -36,6 +36,9 @@
 (require 'menu-bar)
 (require 'fontset)
 (require 'dnd)
+;; For when building a --without-x configuration, where this is not
+;; preloaded.
+(eval-when-compile (require 'mwheel))
 
 (add-to-list 'display-format-alist '(".*" . haiku))
 
index acfbbed9677cec84cca4b607eff72b5a813e9542..b87fc97f8fd2add82cd809bccaaab466f8f917c3 100644 (file)
@@ -31,6 +31,9 @@
 ;;; Code:
 
 (require 'dnd)
+;; For when building a --without-x configuration, where this is not
+;; preloaded.
+(eval-when-compile (require 'mwheel))
 
 ;;; Customizable variables
 (defcustom x-dnd-test-function #'x-dnd-default-test-function