diff options
| -rw-r--r-- | doc/lispref/ChangeLog | 2 | ||||
| -rw-r--r-- | 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 @@ | |||
| 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 | ||
| 15 | 2009-04-13 Chong Yidong <cyd@stupidchicken.com> | 17 | 2009-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 | |||
| 1765 | parts of Emacs text. | 1765 | parts 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}). | 1769 | lines in a frame, using the @code{line-spacing} frame parameter |
| 1770 | However, if the variable @code{default-line-spacing} is | 1770 | (@pxref{Layout Parameters}). However, if the variable |
| 1771 | non-@code{nil}, it overrides the frame's @code{line-spacing} | 1771 | @code{default-line-spacing} is non-@code{nil}, it overrides the |
| 1772 | parameter. An integer value specifies the number of pixels put below | 1772 | frame's @code{line-spacing} parameter. An integer value specifies the |
| 1773 | lines on graphical displays. A floating point number specifies the | 1773 | number of pixels put below lines. A floating point number specifies |
| 1774 | spacing relative to the frame's default line height. | 1774 | the 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 |
| 1778 | buffer-local @code{line-spacing} variable. An integer value specifies | 1778 | buffer-local @code{line-spacing} variable. An integer value specifies |
| 1779 | the number of pixels put below lines on graphical displays. A floating | 1779 | the number of pixels put below lines. A floating point number |
| 1780 | point number specifies the spacing relative to the default frame line | 1780 | specifies the spacing relative to the default frame line height. This |
| 1781 | height. This overrides line spacings specified for the frame. | 1781 | overrides 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 | |||
| 1792 | numeric height value specifies the line spacing, rather than the line | 1792 | numeric height value specifies the line spacing, rather than the line |
| 1793 | height. | 1793 | height. |
| 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 |