diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2019-09-08T00·00+0000 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2019-09-08T00·00+0000 |
commit | 6593236366afdaedefcaa8ad1a9fed9888ca9dfe (patch) | |
tree | ef8ed01fe58b1a4ccc246f12e1e03b86d9a6b25d /exwm-manage.el | |
parent | 2d36241a10b4b705e1482322383f135bca7ac184 (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.el | 3 |
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) |