emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/exwm 6593236 2/6: Handle and skip problematic per-appli


From: Chris Feng
Subject: [elpa] externals/exwm 6593236 2/6: Handle and skip problematic per-application configurations
Date: Sun, 8 Sep 2019 09:07:08 -0400 (EDT)

branch: externals/exwm
commit 6593236366afdaedefcaa8ad1a9fed9888ca9dfe
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>

    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

[Prev in Thread] Current Thread [Next in Thread]