emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 ab66b749a27: ; * src/window.c (Fset_window_margins): Doc fix.


From: Eli Zaretskii
Subject: emacs-29 ab66b749a27: ; * src/window.c (Fset_window_margins): Doc fix.
Date: Wed, 3 Jan 2024 08:15:37 -0500 (EST)

branch: emacs-29
commit ab66b749a276c9fdc70ad2ee114314f0cde862fc
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * src/window.c (Fset_window_margins): Doc fix.
---
 src/window.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/window.c b/src/window.c
index 894d9c4fc19..8d4bde8d6db 100644
--- a/src/window.c
+++ b/src/window.c
@@ -7793,7 +7793,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),



reply via email to

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