mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-11 14:01:43 -08:00
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.
This commit is contained in:
parent
0c3fc71d3b
commit
8e420c09bc
1 changed files with 3 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue