]> git.eshelyaron.com Git - emacs.git/commitdiff
Clarify the use of left/right-margin-width in determining current margin width
authorAlan Mackenzie <acm@muc.de>
Sat, 31 Aug 2019 14:32:13 +0000 (14:32 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 31 Aug 2019 14:32:13 +0000 (14:32 +0000)
* 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

index 9eb406b3c6a2523ac0c426d5d6e87e2a4ae5f407..853f69fa3301cedaa2e723c754e69cbdf95aa01c 100644 (file)
@@ -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.