about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2024-01-09T08·51+0100
committerDaniel Mendler <mail@daniel-mendler.de>2024-01-12T09·10+0100
commitc069e8195dfdd81f458e4a0dac4d9589077321e3 (patch)
tree267e4022219398bd751471d34b3ed7a6975a79b3
parent2e79830e3942f1c3c71c43d973b248b7bbbcd686 (diff)
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.
-rw-r--r--exwm.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/exwm.el b/exwm.el
index a9deb5cd8d..3561cf27ac 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))