aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mackenzie2019-08-31 14:32:13 +0000
committerAlan Mackenzie2019-08-31 14:32:13 +0000
commit8e420c09bcef1bf2a08b03deb74d5c663d898e33 (patch)
treedced4dbdb62d6b3f770c66e51884421df2ec34b5
parent0c3fc71d3bef37bac6a766d319c4574cd24c20c0 (diff)
downloademacs-8e420c09bcef1bf2a08b03deb74d5c663d898e33.tar.gz
emacs-8e420c09bcef1bf2a08b03deb74d5c663d898e33.zip
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.
-rw-r--r--doc/lispref/display.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 9eb406b3c6a..853f69fa330 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -4928,7 +4928,9 @@ means no right marginal area.
4928 Setting these variables does not immediately affect the window. These 4928 Setting these variables does not immediately affect the window. These
4929variables are checked when a new buffer is displayed in the window. 4929variables are checked when a new buffer is displayed in the window.
4930Thus, you can make changes take effect by calling 4930Thus, you can make changes take effect by calling
4931@code{set-window-buffer}. 4931@code{set-window-buffer}. Do not use these variables to try to
4932determine the current width of the left or right margin. Instead, use
4933the function @code{window-margins}.
4932 4934
4933 You can also set the margin widths immediately. 4935 You can also set the margin widths immediately.
4934 4936