From 472f7cb82b67b98843f10c12e6bda9b8ae7262bc Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Sun, 16 Sep 2018 00:00:00 +0000 Subject: Simplify debugging and fix dynamic-scoping `eval' * exwm-core.el (exwm-debug): New global minor mode to replace `exwm-debug-on' and `exwm-debug-toggle'. * exwm-manage.el (exwm-manage--get-configurations): Use lexical-scoping `eval'. --- exwm-manage.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exwm-manage.el') diff --git a/exwm-manage.el b/exwm-manage.el index 7b28d6876861..79c5405fffe8 100644 --- a/exwm-manage.el +++ b/exwm-manage.el @@ -182,7 +182,7 @@ You can still make the X windows floating afterwards." (when (derived-mode-p 'exwm-mode) (dolist (i exwm-manage-configurations) (save-current-buffer - (when (eval (car i)) + (when (eval (car i) t) (cl-return-from exwm-manage--get-configurations (cdr i))))))) (defun exwm-manage--manage-window (id) -- cgit 1.4.1