aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoakim Verona2013-09-14 11:40:24 +0200
committerJoakim Verona2013-09-14 11:40:24 +0200
commit2b483f0f59ff7f125dfbe490e42eb84c238ac971 (patch)
treeba1528a35fc63b414fe981fe335b053beec4bfe3 /doc
parent9523ac3289ca64bd74c42a1cc20ed1df7a9896e7 (diff)
parent08a209bff2e8f91720e5b2dfbac071ea2286814b (diff)
downloademacs-2b483f0f59ff7f125dfbe490e42eb84c238ac971.tar.gz
emacs-2b483f0f59ff7f125dfbe490e42eb84c238ac971.zip
merge from trunk
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/display.texi26
2 files changed, 21 insertions, 10 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index b37fa4e64f3..a1503ea4dde 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12013-09-14 Eli Zaretskii <eliz@gnu.org>
2
3 * display.texi (Display Margins): State the units of measuring
4 margin width. (Bug#15375)
5
12013-09-13 Eli Zaretskii <eliz@gnu.org> 62013-09-13 Eli Zaretskii <eliz@gnu.org>
2 7
3 * text.texi (Not Intervals): Minor wording fix. 8 * text.texi (Not Intervals): Minor wording fix.
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index ff9d98170d1..2e7d4f4c010 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -4189,13 +4189,15 @@ them a nonzero width. The usual way to do that is to set these
4189variables: 4189variables:
4190 4190
4191@defvar left-margin-width 4191@defvar left-margin-width
4192This variable specifies the width of the left margin. 4192This variable specifies the width of the left margin, in character
4193It is buffer-local in all buffers. 4193cell units. It is buffer-local in all buffers. A value of @code{nil}
4194means no left marginal area.
4194@end defvar 4195@end defvar
4195 4196
4196@defvar right-margin-width 4197@defvar right-margin-width
4197This variable specifies the width of the right margin. 4198This variable specifies the width of the right margin, in character
4198It is buffer-local in all buffers. 4199cell units. It is buffer-local in all buffers. A value of @code{nil}
4200means no right marginal area.
4199@end defvar 4201@end defvar
4200 4202
4201 Setting these variables does not immediately affect the window. These 4203 Setting these variables does not immediately affect the window. These
@@ -4206,15 +4208,19 @@ Thus, you can make changes take effect by calling
4206 You can also set the margin widths immediately. 4208 You can also set the margin widths immediately.
4207 4209
4208@defun set-window-margins window left &optional right 4210@defun set-window-margins window left &optional right
4209This function specifies the margin widths for window @var{window}. 4211This function specifies the margin widths for window @var{window}, in
4210The argument @var{left} controls the left margin and 4212character cell (a.k.a.@: ``column''), units. The argument @var{left}
4211@var{right} controls the right margin (default @code{0}). 4213controls the left margin and @var{right} controls the right margin
4214(default @code{0}).
4212@end defun 4215@end defun
4213 4216
4214@defun window-margins &optional window 4217@defun window-margins &optional window
4215This function returns the left and right margins of @var{window} 4218This function returns the width of the left and right margins of
4216as a cons cell of the form @code{(@var{left} . @var{right})}. 4219@var{window} as a cons cell of the form @w{@code{(@var{left}
4217If @var{window} is @code{nil}, the selected window is used. 4220. @var{right})}}. If one of the two marginal areas does not exist,
4221its width is returned as @code{nil}; if none of the two margins exist,
4222the function returns @code{nil}. If @var{window} is @code{nil}, the
4223selected window is used.
4218@end defun 4224@end defun
4219 4225
4220@node Images 4226@node Images