From ed8ab760ef75888924f37746d025efaa00a84c76 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 15 Apr 2009 22:06:52 +0000 Subject: [PATCH] * display.texi (Line Height): Emphasize that line-spacing only takes effect on graphical terminals. --- doc/lispref/ChangeLog | 2 ++ doc/lispref/display.texi | 22 ++++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 8cb1e0206b3..f5f7727daf7 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -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 --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 8ef61c31bb5..26c089ddeae 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -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 -- 2.39.5