Mercurial > emacs
diff doc/lispref/display.texi @ 102981:789bf99f58e7
* display.texi (Line Height): Emphasize that line-spacing only takes
effect on graphical terminals.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 15 Apr 2009 22:06:52 +0000 |
parents | efeb215b8665 |
children | c32ec20d0ab5 |
line wrap: on
line diff
--- a/doc/lispref/display.texi Wed Apr 15 21:54:15 2009 +0000 +++ b/doc/lispref/display.texi Wed Apr 15 22:06:52 2009 +0000 @@ -1765,20 +1765,20 @@ parts of Emacs text. @vindex default-line-spacing - You can specify the line spacing for all lines in a frame with the -@code{line-spacing} frame parameter (@pxref{Layout Parameters}). -However, if the variable @code{default-line-spacing} is -non-@code{nil}, it overrides the frame's @code{line-spacing} -parameter. An integer value specifies the number of pixels put below -lines on graphical displays. A floating point number specifies the -spacing relative to the frame's default line height. + On graphical terminals, you can specify the line spacing for all +lines in a frame, using the @code{line-spacing} frame parameter +(@pxref{Layout Parameters}). However, if the variable +@code{default-line-spacing} is non-@code{nil}, it overrides the +frame's @code{line-spacing} parameter. An integer value specifies the +number of pixels put below lines. A floating point number specifies +the spacing relative to the frame's default line height. @vindex line-spacing You can specify the line spacing for all lines in a buffer via the buffer-local @code{line-spacing} variable. An integer value specifies -the number of pixels put below lines on graphical displays. A floating -point number specifies the spacing relative to the default frame line -height. This overrides line spacings specified for the frame. +the number of pixels put below lines. A floating point number +specifies the spacing relative to the default frame line height. This +overrides line spacings specified for the frame. @kindex line-spacing @r{(text property)} Finally, a newline can have a @code{line-spacing} text or overlay @@ -1792,6 +1792,8 @@ numeric height value specifies the line spacing, rather than the line height. + On text-only terminals, the line spacing cannot be altered. + @node Faces @section Faces @cindex faces