branch: externals/exwm commit 10bd61dbcf69110b2b029ac677c38bd076376d21 Author: Steven Allen <ste...@stebalien.com> Commit: Steven Allen <ste...@stebalien.com>
Check Emacs version at runtime as well Checking only at compile time would lead to bugs when the user upgrades to a new Emacs version, and the cost of checking at runtime is negligible. * exwm-layout.el (exwm-layout--show): check version at runtime. --- exwm-layout.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exwm-layout.el b/exwm-layout.el index 0a5c5ffd4e..ce53d32ddc 100644 --- a/exwm-layout.el +++ b/exwm-layout.el @@ -117,7 +117,7 @@ See variable `exwm-layout-auto-iconify'." (width (- (pop edges) x)) (height (- (pop edges) y)) frame-x frame-y frame-width frame-height) - (when (eval-when-compile (< emacs-major-version 31)) + (when (< emacs-major-version 31) (setq y (+ y (window-tab-line-height window)))) (with-current-buffer (exwm--id->buffer id) (when exwm--floating-frame