From b14c1b547345d46a7e87e261b910bcf0ebe2d522 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 18 Aug 2020 11:32:06 +0200 Subject: [PATCH] Remove some compat code from window.el * lisp/window.el (window-fixed-size-p): Remove check for window-size-fixed, which is always defined. --- lisp/window.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/window.el b/lisp/window.el index f20940fa0ea..c02c9f37ee6 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -5729,10 +5729,10 @@ window." WINDOW defaults to the selected window. DIRECTION can be nil (i.e. any), `height' or `width'." (with-current-buffer (window-buffer window) - (when (and (boundp 'window-size-fixed) window-size-fixed) - (not (and direction - (member (cons direction window-size-fixed) - '((height . width) (width . height)))))))) + (and window-size-fixed + (not (and direction + (member (cons direction window-size-fixed) + '((height . width) (width . height)))))))) ;;; A different solution to balance-windows. (defvar window-area-factor 1 -- 2.39.5