emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 8e420c0: Clarify the use of left/right-margin-wid


From: Alan Mackenzie
Subject: [Emacs-diffs] emacs-26 8e420c0: Clarify the use of left/right-margin-width in determining current margin width
Date: Sat, 31 Aug 2019 10:34:42 -0400 (EDT)

branch: emacs-26
commit 8e420c09bcef1bf2a08b03deb74d5c663d898e33
Author: Alan Mackenzie <address@hidden>
Commit: Alan Mackenzie <address@hidden>

    Clarify the use of left/right-margin-width in determining current margin 
width
    
    * doc/lispref/display.texi (Display-Margins):  Clarify that
    left/right-margin-width can not be used to determine the current margin 
width,
    and that window-margins must be used instead.
---
 doc/lispref/display.texi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 9eb406b..853f69f 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -4928,7 +4928,9 @@ means no right marginal area.
   Setting these variables does not immediately affect the window.  These
 variables are checked when a new buffer is displayed in the window.
 Thus, you can make changes take effect by calling
-@code{set-window-buffer}.
+@code{set-window-buffer}.  Do not use these variables to try to
+determine the current width of the left or right margin.  Instead, use
+the function @code{window-margins}.
 
   You can also set the margin widths immediately.
 



reply via email to

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