Handle and skip problematic per-application configurations

* exwm-manage.el (exwm-manage--get-configurations): Select the first
usable configuration.
This commit is contained in:
Chris Feng 2019-09-08 00:00:00 +00:00
parent 2d36241a10
commit 6593236366

View file

@ -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)