# HG changeset patch # User Juanma Barranquero # Date 1084407680 0 # Node ID f262795a90048696624abaf79ac6cfbd67e5aaa0 # Parent a4d697f046db24cf6e391e94ba89719f6f370b07 (Ftty_supports_face_attributes_p, Finternal_copy_lisp_face): Fix typo in docstring. (Finternal_get_lisp_face_attribute): Fix docstring. diff -r a4d697f046db -r f262795a9004 src/xfaces.c --- a/src/xfaces.c Thu May 13 00:18:15 2004 +0000 +++ b/src/xfaces.c Thu May 13 00:21:20 2004 +0000 @@ -3857,7 +3857,7 @@ DEFUN ("internal-copy-lisp-face", Finternal_copy_lisp_face, Sinternal_copy_lisp_face, 4, 4, 0, doc: /* Copy face FROM to TO. -If FRAME it t, copy the global face definition of FROM to the +If FRAME is t, copy the global face definition of FROM to the global face definition of TO. Otherwise, copy the frame-local definition of FROM on FRAME to the frame-local definition of TO on NEW-FRAME, or FRAME if NEW-FRAME is nil. @@ -4684,8 +4684,8 @@ doc: /* Return face attribute KEYWORD of face SYMBOL. If SYMBOL does not name a valid Lisp face or KEYWORD isn't a valid face attribute name, signal an error. -If the optional argument FRAME is given, report on face FACE in that -frame. If FRAME is t, report on the defaults for face FACE (for new +If the optional argument FRAME is given, report on face SYMBOL in that +frame. If FRAME is t, report on the defaults for face SYMBOL (for new frames). If FRAME is omitted or nil, use the selected frame. */) (symbol, keyword, frame) Lisp_Object symbol, keyword, frame; @@ -5235,10 +5235,10 @@ \(1) different in appearance than the default face, and \(2) `close in spirit' to what the attributes specify, if not exact. -Point (2) implies that a `:weight black' attribute will be satisified +Point (2) implies that a `:weight black' attribute will be satisfied by any terminal that can display bold, and a `:foreground "yellow"' as long as the terminal can display a yellowish color, but `:slant italic' -will _not_ be satisified by the tty display code's automatic +will _not_ be satisfied by the tty display code's automatic substitution of a `dim' face for italic. */) (attributes, frame) Lisp_Object attributes, frame; @@ -5446,8 +5446,8 @@ } -/* Free all realized faces in face cache C, including basic faces. C - may be null. If faces are freed, make sure the frame's current +/* Free all realized faces in face cache C, including basic faces. + C may be null. If faces are freed, make sure the frame's current matrix is marked invalid, so that a display caused by an expose event doesn't try to use faces we destroyed. */