aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2012-06-16 19:07:26 -0700
committerGlenn Morris2012-06-16 19:07:26 -0700
commit82a25657c58b7a5ad2f6d247aa91e11f0b2a783b (patch)
tree27590923898d1bd6fbe2d765e0573469105c16ca /doc
parentdb80bdc86f7aac0e85244e48675758e10d78d86f (diff)
downloademacs-82a25657c58b7a5ad2f6d247aa91e11f0b2a783b.tar.gz
emacs-82a25657c58b7a5ad2f6d247aa91e11f0b2a783b.zip
Minor edits for Face Attributes section of display.texi
* display.texi (Face Attributes): Copyedits. Add a few cindex entries. Overlining no longer behaves exactly like underlining.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/display.texi32
2 files changed, 22 insertions, 15 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 1157c39dd06..b1ec6b7dfbf 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12012-06-17 Glenn Morris <rgm@gnu.org>
2
3 * display.texi (Face Attributes): Copyedits. Add a few cindex entries.
4 Overlining no longer behaves exactly like underlining.
5
12012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com> 62012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2 7
3 * display.texi (Face Attributes): 8 * display.texi (Face Attributes):
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 60e14b6b85b..2e9be1e3201 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2113,6 +2113,7 @@ variable-brightness text, any weight greater than normal is displayed
2113as extra bright, and any weight less than normal is displayed as 2113as extra bright, and any weight less than normal is displayed as
2114half-bright. 2114half-bright.
2115 2115
2116@cindex italic text
2116@item :slant 2117@item :slant
2117Font slant---one of the symbols @code{italic}, @code{oblique}, 2118Font slant---one of the symbols @code{italic}, @code{oblique},
2118@code{normal}, @code{reverse-italic}, or @code{reverse-oblique}. On 2119@code{normal}, @code{reverse-italic}, or @code{reverse-oblique}. On
@@ -2129,10 +2130,10 @@ stipple patterns.
2129Background color, a string. The value can be a system-defined color 2130Background color, a string. The value can be a system-defined color
2130name, or a hexadecimal color specification. @xref{Color Names}. 2131name, or a hexadecimal color specification. @xref{Color Names}.
2131 2132
2133@cindex underlined text
2132@item :underline 2134@item :underline
2133Whether or not characters should be underlined, and in what 2135Whether or not characters should be underlined, and in what
2134color. Here are the possible values of the @code{:underline} 2136way. The possible values of the @code{:underline} attribute are:
2135attribute, and what they mean:
2136 2137
2137@table @asis 2138@table @asis
2138@item @code{nil} 2139@item @code{nil}
@@ -2142,28 +2143,29 @@ Don't underline.
2142Underline with the foreground color of the face. 2143Underline with the foreground color of the face.
2143 2144
2144@item @var{color} 2145@item @var{color}
2145Underline in color @var{color}. 2146Underline in color @var{color}; which should be either a string
2146 2147specifying a color, or the symbol @code{foreground-color}, meaning the
2147@item @code{(:color @var{color} :style @var{style})}
2148If @var{color} is a string, underline in it.
2149If @var{color} is @code{foreground-color}, underline with the
2150foreground color of the face. 2148foreground color of the face.
2151 2149
2152If @var{style} is @code{wave} underline with a wave. 2150@item @code{(:color @var{color} :style @var{style})}
2153If @var{style} is @code{line} underline with a line. 2151@var{color} is as described above. Omitting the attribute
2154 2152@code{:color} means to use the foreground color of the face.
2155If the attribute @code{:color} is omited, underline with the 2153@var{style} should be a symbol @code{line} or @code{wave}, meaning to
2156foreground color of the face. 2154use a straight or wavy line. Omitting the attribute @code{:style}
2157If the attribute @code{:style} is omited, underline with a line. 2155means to use a straight line.
2158@end table 2156@end table
2159 2157
2158@cindex overlined text
2160@item :overline 2159@item :overline
2161Whether or not characters should be overlined, and in what color. 2160Whether or not characters should be overlined, and in what color.
2162The value is used like that of @code{:underline}. 2161If the value is @code{t}, overlining uses the foreground color of the
2162face. If the value is a string, overlining uses that color. The
2163value @code{nil} means do not overline.
2163 2164
2165@cindex strike-through text
2164@item :strike-through 2166@item :strike-through
2165Whether or not characters should be strike-through, and in what 2167Whether or not characters should be strike-through, and in what
2166color. The value is used like that of @code{:underline}. 2168color. The value is used like that of @code{:overline}.
2167 2169
2168@item :box 2170@item :box
2169Whether or not a box should be drawn around characters, its color, the 2171Whether or not a box should be drawn around characters, its color, the