From b5bae10fd48024666ca10b7182155bca56fce040 Mon Sep 17 00:00:00 2001 From: Daniel Mendler <mail@daniel-mendler.de> 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 #937. --- exwm.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exwm.el b/exwm.el index d2a0a62..300c06c 100644 --- a/exwm.el +++ b/exwm.el @@ -98,8 +98,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))