branch: externals/exwm
commit 6593236366afdaedefcaa8ad1a9fed9888ca9dfe
Author: Chris Feng <chris.w.f...@gmail.com>
Commit: Chris Feng <chris.w.f...@gmail.com>

    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)

Reply via email to