]> code.delx.au - gnu-emacs/commitdiff
* display.texi (Line Height): Emphasize that line-spacing only takes
authorChong Yidong <cyd@stupidchicken.com>
Wed, 15 Apr 2009 22:06:52 +0000 (22:06 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 15 Apr 2009 22:06:52 +0000 (22:06 +0000)
effect on graphical terminals.

doc/lispref/ChangeLog
doc/lispref/display.texi

index 8cb1e0206b3296146c1b6e0c62637d4ba7f18fed..f5f7727daf710c3a70eef1b313915ca3547a4b2f 100644 (file)
@@ -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>
 
index 8ef61c31bb5bb5bf104a863617adc6e4d02a7308..26c089ddeae35c56ea71e743504adc6cf8d12264 100644 (file)
@@ -1765,20 +1765,20 @@ There are several ways to specify the line spacing for different
 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 @@ into a Lisp value as described above.  However, in this case the
 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