1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 15:21:46 +00:00

; Fix byte-compilation warnings in --without-x build

* 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)
This commit is contained in:
Eli Zaretskii 2023-05-11 16:25:46 +03:00
parent 1174e8ba4d
commit 44c2befb4a
4 changed files with 8 additions and 0 deletions

View 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)

View 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."

View 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))

View 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