From c069e8195dfdd81f458e4a0dac4d9589077321e3 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Tue, 9 Jan 2024 09:51:28 +0100 Subject: [PATCH] exwm-blocking-subrs: x-* functions may be missing on some Emacs builds Avoid compiler warnings. Follow-up of https://github.com/ch11ng/exwm/pull/937. --- exwm.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exwm.el b/exwm.el index a9deb5c..3561cf2 100644 --- a/exwm.el +++ b/exwm.el @@ -100,8 +100,9 @@ :type 'hook) (defcustom exwm-blocking-subrs - (list #'x-file-dialog #'x-popup-dialog #'x-select-font - #'message-box #'message-or-box) + ;; `x-file-dialog' and `x-select-font' are missing on some Emacs builds, for + ;; example on the X11 Lucid build. + '(x-file-dialog x-popup-dialog x-select-font message-box message-or-box) "Subrs (primitives) that would normally block EXWM." :type '(repeat function))