diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2018-09-16T00·00+0000 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2018-09-16T00·00+0000 |
commit | 472f7cb82b67b98843f10c12e6bda9b8ae7262bc (patch) | |
tree | 3334598fdbf61f3964a039dbbd767d49c644ee3c /exwm-manage.el | |
parent | 5903080b6efba91f6809c2a505a1069e46d8c277 (diff) |
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'.
Diffstat (limited to 'exwm-manage.el')
-rw-r--r-- | exwm-manage.el | 2 |
1 files changed, 1 insertions, 1 deletions
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) |