From 6593236366afdaedefcaa8ad1a9fed9888ca9dfe Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Sun, 8 Sep 2019 00:00:00 +0000 Subject: [PATCH] Handle and skip problematic per-application configurations * exwm-manage.el (exwm-manage--get-configurations): Select the first usable configuration. --- exwm-manage.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exwm-manage.el b/exwm-manage.el index deb475d..a06768f 100644 --- a/exwm-manage.el +++ b/exwm-manage.el @@ -242,7 +242,8 @@ criterion would be applied." (when (derived-mode-p 'exwm-mode) (dolist (i exwm-manage-configurations) (save-current-buffer - (when (eval (car i) t) + (when (with-demoted-errors "Problematic configuration: %S" + (eval (car i) t)) (cl-return-from exwm-manage--get-configurations (cdr i))))))) (defun exwm-manage--manage-window (id)