branch: externals/olivetti
commit 211c03ee8336e8d5b03f4199beaea6ad59a7fe16
Author: Paul W. Rankin <[email protected]>
Commit: Paul W. Rankin <[email protected]>
Add FIXME re window-size-change-functions
---
olivetti.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/olivetti.el b/olivetti.el
index 3cdd4a9..d50e334 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -146,6 +146,9 @@ exiting. The reverse is not true."
;;; Set Environment
+;; FIXME: A change to `window-size-change-functions' in 27.x breaks this
+;; function, which expects either no argument, or a frame (as per 26.1), but
now
+;; may receive a window.
(defun olivetti-set-margins (&optional frame)
"Set text body width to `olivetti-body-width' with relative margins.