]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/window.c (Fset_window_margins): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Wed, 3 Jan 2024 13:14:41 +0000 (15:14 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 6 Jan 2024 16:15:32 +0000 (17:15 +0100)
(cherry picked from commit ab66b749a276c9fdc70ad2ee114314f0cde862fc)

src/window.c

index 90e47dd7278b4823531732455dce7e1d386ddacf..3a54f7ce7b11ee9e3385b92e48ae58d9eb7de2ec 100644 (file)
@@ -7826,7 +7826,11 @@ means no margin.
 
 Leave margins unchanged if WINDOW is not large enough to accommodate
 margins of the desired width.  Return t if any margin was actually
-changed and nil otherwise.  */)
+changed and nil otherwise.
+
+The margins specified by calling this function may be later overridden
+by invoking `set-window-buffer' for the same WINDOW, with its
+KEEP-MARGINS argument nil or omitted.  */)
   (Lisp_Object window, Lisp_Object left_width, Lisp_Object right_width)
 {
   struct window *w = set_window_margins (decode_live_window (window),