aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-04-15 22:06:52 +0000
committerChong Yidong2009-04-15 22:06:52 +0000
commited8ab760ef75888924f37746d025efaa00a84c76 (patch)
treec28577722aefede8bd04f0094e9ebd30feb6987b
parent80d7cdca53f26dfd282c654eadeda63e0ca09715 (diff)
downloademacs-ed8ab760ef75888924f37746d025efaa00a84c76.tar.gz
emacs-ed8ab760ef75888924f37746d025efaa00a84c76.zip
* display.texi (Line Height): Emphasize that line-spacing only takes
effect on graphical terminals.
-rw-r--r--doc/lispref/ChangeLog2
-rw-r--r--doc/lispref/display.texi22
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 @@
11 (Face Remapping): Copyedits. 11 (Face Remapping): Copyedits.
12 (Low-Level Font): Copyedits. 12 (Low-Level Font): Copyedits.
13 (Image Cache): Note that the image cache is shared between frames. 13 (Image Cache): Note that the image cache is shared between frames.
14 (Line Height): Emphasize that line-spacing only takes effect on
15 graphical terminals.
14 16
152009-04-13 Chong Yidong <cyd@stupidchicken.com> 172009-04-13 Chong Yidong <cyd@stupidchicken.com>
16 18
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
1765parts of Emacs text. 1765parts of Emacs text.
1766 1766
1767@vindex default-line-spacing 1767@vindex default-line-spacing
1768 You can specify the line spacing for all lines in a frame with the 1768 On graphical terminals, you can specify the line spacing for all
1769@code{line-spacing} frame parameter (@pxref{Layout Parameters}). 1769lines in a frame, using the @code{line-spacing} frame parameter
1770However, if the variable @code{default-line-spacing} is 1770(@pxref{Layout Parameters}). However, if the variable
1771non-@code{nil}, it overrides the frame's @code{line-spacing} 1771@code{default-line-spacing} is non-@code{nil}, it overrides the
1772parameter. An integer value specifies the number of pixels put below 1772frame's @code{line-spacing} parameter. An integer value specifies the
1773lines on graphical displays. A floating point number specifies the 1773number of pixels put below lines. A floating point number specifies
1774spacing relative to the frame's default line height. 1774the spacing relative to the frame's default line height.
1775 1775
1776@vindex line-spacing 1776@vindex line-spacing
1777 You can specify the line spacing for all lines in a buffer via the 1777 You can specify the line spacing for all lines in a buffer via the
1778buffer-local @code{line-spacing} variable. An integer value specifies 1778buffer-local @code{line-spacing} variable. An integer value specifies
1779the number of pixels put below lines on graphical displays. A floating 1779the number of pixels put below lines. A floating point number
1780point number specifies the spacing relative to the default frame line 1780specifies the spacing relative to the default frame line height. This
1781height. This overrides line spacings specified for the frame. 1781overrides line spacings specified for the frame.
1782 1782
1783@kindex line-spacing @r{(text property)} 1783@kindex line-spacing @r{(text property)}
1784 Finally, a newline can have a @code{line-spacing} text or overlay 1784 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
1792numeric height value specifies the line spacing, rather than the line 1792numeric height value specifies the line spacing, rather than the line
1793height. 1793height.
1794 1794
1795 On text-only terminals, the line spacing cannot be altered.
1796
1795@node Faces 1797@node Faces
1796@section Faces 1798@section Faces
1797@cindex faces 1799@cindex faces