comparison lispref/display.texi @ 36935:1ac3e0f3e75a

*** empty log message ***
author Dave Love <fx@gnu.org>
date Thu, 22 Mar 2001 15:16:31 +0000
parents 1c038a1a02a1
children 29f2615d958f
comparison
equal deleted inserted replaced
36934:29a76ec27dc1 36935:1ac3e0f3e75a
2276 A display specification of this form means to display @var{string} 2276 A display specification of this form means to display @var{string}
2277 instead of the text that has the display specification, at the same 2277 instead of the text that has the display specification, at the same
2278 position as that text. This is a special case of marginal display 2278 position as that text. This is a special case of marginal display
2279 (@pxref{Display Margins}). 2279 (@pxref{Display Margins}).
2280 2280
2281 Recursive display specifications are not supported, i.e.@: string
2282 display specifications that have a display specification property
2283 themselves.
2284
2281 @item (space-width @var{factor}) 2285 @item (space-width @var{factor})
2282 This display specification affects all the space characters within the 2286 This display specification affects all the space characters within the
2283 text that has the specification. It displays all of these spaces 2287 text that has the specification. It displays all of these spaces
2284 @var{factor} times as wide as normal. The element @var{factor} should 2288 @var{factor} times as wide as normal. The element @var{factor} should
2285 be an integer or float. Characters other than spaces are not affected 2289 be an integer or float. Characters other than spaces are not affected
2365 Thus, you can make changes take effect by calling 2369 Thus, you can make changes take effect by calling
2366 @code{set-window-buffer}. 2370 @code{set-window-buffer}.
2367 2371
2368 You can also set the margin widths immediately. 2372 You can also set the margin widths immediately.
2369 2373
2370 @defun set-window-margins window left right 2374 @defun set-window-margins window left &optional right
2371 @tindex set-window-margins 2375 @tindex set-window-margins
2372 This function specifies the margin widths for window @var{window}. 2376 This function specifies the margin widths for window @var{window}.
2373 The argument @var{left} controls the left margin and 2377 The argument @var{left} controls the left margin and
2374 @var{right} controls the right margin. 2378 @var{right} controls the right margin (default @code{0}).
2375 @end defun 2379 @end defun
2376 2380
2377 @defun window-margins &optional window 2381 @defun window-margins &optional window
2378 @tindex window-margins 2382 @tindex window-margins
2379 This function returns the left and right margins of @var{window} 2383 This function returns the left and right margins of @var{window}