changeset 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 4ac543a14f94
children ab2250dc98c7
files doc/lispref/ChangeLog doc/lispref/display.texi
diffstat 2 files changed, 14 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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  <cyd@stupidchicken.com>
 
--- 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