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.
This commit is contained in:
Daniel Mendler 2024-01-09 09:51:28 +01:00
parent 2e79830e39
commit c069e8195d
No known key found for this signature in database
GPG key ID: D88ADB2A2693CA43

View file

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