about summary refs log tree commit diff
path: root/exwm-manage.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2019-09-08T00·00+0000
committerChris Feng <chris.w.feng@gmail.com>2019-09-08T00·00+0000
commit6593236366afdaedefcaa8ad1a9fed9888ca9dfe (patch)
treeef8ed01fe58b1a4ccc246f12e1e03b86d9a6b25d /exwm-manage.el
parent2d36241a10b4b705e1482322383f135bca7ac184 (diff)
Handle and skip problematic per-application configurations
* exwm-manage.el (exwm-manage--get-configurations): Select the first
usable configuration.
Diffstat (limited to 'exwm-manage.el')
-rw-r--r--exwm-manage.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/exwm-manage.el b/exwm-manage.el
index deb475d53a4c..a06768f6dcd8 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)