diff options
| author | Joakim Verona | 2013-09-14 11:40:24 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-09-14 11:40:24 +0200 |
| commit | 2b483f0f59ff7f125dfbe490e42eb84c238ac971 (patch) | |
| tree | ba1528a35fc63b414fe981fe335b053beec4bfe3 /doc | |
| parent | 9523ac3289ca64bd74c42a1cc20ed1df7a9896e7 (diff) | |
| parent | 08a209bff2e8f91720e5b2dfbac071ea2286814b (diff) | |
| download | emacs-2b483f0f59ff7f125dfbe490e42eb84c238ac971.tar.gz emacs-2b483f0f59ff7f125dfbe490e42eb84c238ac971.zip | |
merge from trunk
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 26 |
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 @@ | |||
| 1 | 2013-09-14 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * display.texi (Display Margins): State the units of measuring | ||
| 4 | margin width. (Bug#15375) | ||
| 5 | |||
| 1 | 2013-09-13 Eli Zaretskii <eliz@gnu.org> | 6 | 2013-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 | |||
| 4189 | variables: | 4189 | variables: |
| 4190 | 4190 | ||
| 4191 | @defvar left-margin-width | 4191 | @defvar left-margin-width |
| 4192 | This variable specifies the width of the left margin. | 4192 | This variable specifies the width of the left margin, in character |
| 4193 | It is buffer-local in all buffers. | 4193 | cell units. It is buffer-local in all buffers. A value of @code{nil} |
| 4194 | means no left marginal area. | ||
| 4194 | @end defvar | 4195 | @end defvar |
| 4195 | 4196 | ||
| 4196 | @defvar right-margin-width | 4197 | @defvar right-margin-width |
| 4197 | This variable specifies the width of the right margin. | 4198 | This variable specifies the width of the right margin, in character |
| 4198 | It is buffer-local in all buffers. | 4199 | cell units. It is buffer-local in all buffers. A value of @code{nil} |
| 4200 | means 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 |
| 4209 | This function specifies the margin widths for window @var{window}. | 4211 | This function specifies the margin widths for window @var{window}, in |
| 4210 | The argument @var{left} controls the left margin and | 4212 | character cell (a.k.a.@: ``column''), units. The argument @var{left} |
| 4211 | @var{right} controls the right margin (default @code{0}). | 4213 | controls 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 |
| 4215 | This function returns the left and right margins of @var{window} | 4218 | This function returns the width of the left and right margins of |
| 4216 | as 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} |
| 4217 | If @var{window} is @code{nil}, the selected window is used. | 4220 | . @var{right})}}. If one of the two marginal areas does not exist, |
| 4221 | its width is returned as @code{nil}; if none of the two margins exist, | ||
| 4222 | the function returns @code{nil}. If @var{window} is @code{nil}, the | ||
| 4223 | selected window is used. | ||
| 4218 | @end defun | 4224 | @end defun |
| 4219 | 4225 | ||
| 4220 | @node Images | 4226 | @node Images |