# HG changeset patch # User Chong Yidong # Date 1239833212 0 # Node ID 789bf99f58e756cacb41ba845af6c0aa0b6d4fd7 # Parent 4ac543a14f94d6a7498af3e7718b9cf56e9e41de * display.texi (Line Height): Emphasize that line-spacing only takes effect on graphical terminals. diff -r 4ac543a14f94 -r 789bf99f58e7 doc/lispref/ChangeLog --- a/doc/lispref/ChangeLog Wed Apr 15 21:54:15 2009 +0000 +++ b/doc/lispref/ChangeLog Wed Apr 15 22:06:52 2009 +0000 @@ -11,6 +11,8 @@ (Face Remapping): Copyedits. (Low-Level Font): Copyedits. (Image Cache): Note that the image cache is shared between frames. + (Line Height): Emphasize that line-spacing only takes effect on + graphical terminals. 2009-04-13 Chong Yidong diff -r 4ac543a14f94 -r 789bf99f58e7 doc/lispref/display.texi --- 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