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:
parent
1174e8ba4d
commit
44c2befb4a
@ -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)
|
||||
|
||||
|
@ -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."
|
||||
|
@ -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))
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user