branch: elpa/golden-ratio
commit a19b9b0a3b96a3534539febc39112e3f8e6a6b4c
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>

    * golden-ratio.el: Fix window-resizable-p compatibility with 24.2.
---
 golden-ratio.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/golden-ratio.el b/golden-ratio.el
index 468103ebe0..c6607f5d61 100644
--- a/golden-ratio.el
+++ b/golden-ratio.el
@@ -51,6 +51,11 @@ will not cause the window to be resized to the golden ratio."
   :group 'golden-ratio
   :type 'hook)
 
+;;; Compatibility
+;;
+(unless (fboundp 'window-resizable-p)
+  (defalias 'window-resizable-p 'window--resizable-p))
+
 (defun golden-ratio--dimensions ()
   (list (floor (/ (frame-height) golden-ratio--value))
         (floor (/ (frame-width)  golden-ratio--value))))

Reply via email to