[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b14c1b5 4/4: Remove some compat code from window.el
From: |
Lars Ingebrigtsen |
Subject: |
master b14c1b5 4/4: Remove some compat code from window.el |
Date: |
Tue, 18 Aug 2020 05:36:00 -0400 (EDT) |
branch: master
commit b14c1b547345d46a7e87e261b910bcf0ebe2d522
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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 f20940f..c02c9f3 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