summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-08-18 11:32:06 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-08-18 11:32:06 +0200
commitb14c1b547345d46a7e87e261b910bcf0ebe2d522 (patch)
treea43732f485007f889ff6fbdf26125c23b39381b2 /lisp/window.el
parentfdd388d311df2455806698f73d6a697866a4dce2 (diff)
downloademacs-b14c1b547345d46a7e87e261b910bcf0ebe2d522.tar.gz
Remove some compat code from window.el
* lisp/window.el (window-fixed-size-p): Remove check for window-size-fixed, which is always defined.
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el8
1 files 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