diff options
| author | Eli Zaretskii | 2023-05-11 16:25:46 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2023-05-11 16:25:46 +0300 |
| commit | 44c2befb4a36391f17ee8f3539dee7be62df89f0 (patch) | |
| tree | e715e4e2261c7673a84198183f43b0e1480f004c | |
| parent | 1174e8ba4d7196a770214721e5973a037684a130 (diff) | |
| download | emacs-44c2befb4a36391f17ee8f3539dee7be62df89f0.tar.gz emacs-44c2befb4a36391f17ee8f3539dee7be62df89f0.zip | |
; 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)
| -rw-r--r-- | lisp/dynamic-setting.el | 1 | ||||
| -rw-r--r-- | lisp/progmodes/prog-mode.el | 1 | ||||
| -rw-r--r-- | lisp/term/haiku-win.el | 3 | ||||
| -rw-r--r-- | lisp/x-dnd.el | 3 |
4 files changed, 8 insertions, 0 deletions
diff --git a/lisp/dynamic-setting.el b/lisp/dynamic-setting.el index 9ce09657345..ebe25ab9c75 100644 --- a/lisp/dynamic-setting.el +++ b/lisp/dynamic-setting.el | |||
| @@ -33,6 +33,7 @@ | |||
| 33 | ;;; Customizable variables | 33 | ;;; Customizable variables |
| 34 | 34 | ||
| 35 | (declare-function font-get-system-font "xsettings.c" ()) | 35 | (declare-function font-get-system-font "xsettings.c" ()) |
| 36 | (declare-function reconsider-frame-font "frame.c" ()) | ||
| 36 | 37 | ||
| 37 | (defvar font-use-system-font) | 38 | (defvar font-use-system-font) |
| 38 | 39 | ||
diff --git a/lisp/progmodes/prog-mode.el b/lisp/progmodes/prog-mode.el index 04071703184..a434c7e9058 100644 --- a/lisp/progmodes/prog-mode.el +++ b/lisp/progmodes/prog-mode.el | |||
| @@ -36,6 +36,7 @@ | |||
| 36 | (declare-function treesit-available-p "treesit.c") | 36 | (declare-function treesit-available-p "treesit.c") |
| 37 | (declare-function treesit-parser-list "treesit.c") | 37 | (declare-function treesit-parser-list "treesit.c") |
| 38 | (declare-function treesit-node-type "treesit.c") | 38 | (declare-function treesit-node-type "treesit.c") |
| 39 | (declare-function treesit-node-at "treesit.c") | ||
| 39 | 40 | ||
| 40 | (defgroup prog-mode nil | 41 | (defgroup prog-mode nil |
| 41 | "Generic programming mode, from which others derive." | 42 | "Generic programming mode, from which others derive." |
diff --git a/lisp/term/haiku-win.el b/lisp/term/haiku-win.el index ae5a2f2fc6b..50c9cb5b9d4 100644 --- a/lisp/term/haiku-win.el +++ b/lisp/term/haiku-win.el | |||
| @@ -36,6 +36,9 @@ | |||
| 36 | (require 'menu-bar) | 36 | (require 'menu-bar) |
| 37 | (require 'fontset) | 37 | (require 'fontset) |
| 38 | (require 'dnd) | 38 | (require 'dnd) |
| 39 | ;; For when building a --without-x configuration, where this is not | ||
| 40 | ;; preloaded. | ||
| 41 | (eval-when-compile (require 'mwheel)) | ||
| 39 | 42 | ||
| 40 | (add-to-list 'display-format-alist '(".*" . haiku)) | 43 | (add-to-list 'display-format-alist '(".*" . haiku)) |
| 41 | 44 | ||
diff --git a/lisp/x-dnd.el b/lisp/x-dnd.el index acfbbed9677..b87fc97f8fd 100644 --- a/lisp/x-dnd.el +++ b/lisp/x-dnd.el | |||
| @@ -31,6 +31,9 @@ | |||
| 31 | ;;; Code: | 31 | ;;; Code: |
| 32 | 32 | ||
| 33 | (require 'dnd) | 33 | (require 'dnd) |
| 34 | ;; For when building a --without-x configuration, where this is not | ||
| 35 | ;; preloaded. | ||
| 36 | (eval-when-compile (require 'mwheel)) | ||
| 34 | 37 | ||
| 35 | ;;; Customizable variables | 38 | ;;; Customizable variables |
| 36 | (defcustom x-dnd-test-function #'x-dnd-default-test-function | 39 | (defcustom x-dnd-test-function #'x-dnd-default-test-function |