emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/golden-ratio 0517fc134a 11/95: Replacing `window-absolute-


From: ELPA Syncer
Subject: [nongnu] elpa/golden-ratio 0517fc134a 11/95: Replacing `window-absolute-pixel-edges` in favor of `window-pixel-edges`
Date: Thu, 7 Sep 2023 22:02:09 -0400 (EDT)

branch: elpa/golden-ratio
commit 0517fc134a49e71057c2e9cda7e9b49e3364897f
Author: Roman Gonzalez <romanandreg@gmail.com>
Commit: Roman Gonzalez <romanandreg@gmail.com>

    Replacing `window-absolute-pixel-edges` in favor of `window-pixel-edges`
    
    This in order to support emacs 23, it seems the absolute version is
    not in it.
---
 golden-ratio.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/golden-ratio.el b/golden-ratio.el
index 4c0ccfb0f2..a43f76e10d 100644
--- a/golden-ratio.el
+++ b/golden-ratio.el
@@ -26,7 +26,7 @@
 
 
 (defun -golden-ratio-resize-window (dimensions window)
-  (let* ((edges           (window-absolute-pixel-edges window))
+  (let* ((edges           (window-pixel-edges window))
          (nrow            (floor
                            (- (first dimensions)
                               (window-height window))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]