;ELC ;;; Compiled by cyd@localhost on Mon Apr 23 22:20:46 2007 ;;; from file /home/cyd/emacs/lisp/faces.el ;;; in Emacs version 22.0.99 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. (if (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19.29"))) (error "`faces.el' was compiled for Emacs 19.29 or later")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (custom-declare-group 'font-selection nil "Influencing face font selection." :group 'faces) #@498 *A list specifying how face font selection chooses fonts. Each of the four symbols `:width', `:height', `:weight', and `:slant' must appear once in the list, and the list must not contain any other elements. Font selection tries to find a best matching font for those face attributes first that appear first in the list. For example, if `:slant' appears before `:height', font selection first tries to find a font with a suitable slant, even if this results in a font height that isn't optimal. (custom-declare-variable 'face-font-selection-order ''(:width :height :weight :slant) '(#$ . -650) :tag "Font selection order" :type '(list symbol symbol symbol symbol) :group 'font-selection :set #[(symbol value) "\302 \"\210\303 !\207" [symbol value set-default internal-set-font-selection-order] 3]) #@192 *Alist of alternative font family names. Each element has the form (FAMILY ALTERNATIVE1 ALTERNATIVE2 ...). If fonts of family FAMILY can't be loaded, try ALTERNATIVE1, then ALTERNATIVE2 etc. (custom-declare-variable 'face-font-family-alternatives ''(("courier" "fixed") ("helv" "helvetica" "arial" "fixed")) '(#$ . -1458) :tag "Alternative font families to try" :type '(repeat (repeat string)) :group 'font-selection :set #[(symbol value) "\302 \"\210\303 !\207" [symbol value set-default internal-set-alternative-font-family-alist] 3]) #@282 *Alist of alternative font registry names. Each element has the form (REGISTRY ALTERNATIVE1 ALTERNATIVE2 ...). If fonts of registry REGISTRY can be loaded, font selection tries to find a best matching font among all fonts of registry REGISTRY, ALTERNATIVE1, ALTERNATIVE2, and etc. (custom-declare-variable 'face-font-registry-alternatives '(if (eq system-type 'windows-nt) '(("iso8859-1" "ms-oemlatin") ("gb2312.1980" "gb2312") ("jisx0208.1990" "jisx0208.1983" "jisx0208.1978") ("ksc5601.1989" "ksx1001.1992" "ksc5601.1987") ("muletibetan-2" "muletibetan-0")) '(("gb2312.1980" "gb2312.80&gb8565.88" "gbk*") ("jisx0208.1990" "jisx0208.1983" "jisx0208.1978") ("ksc5601.1989" "ksx1001.1992" "ksc5601.1987") ("muletibetan-2" "muletibetan-0"))) '(#$ . -2003) :tag "Alternative font registries to try" :type '(repeat (repeat string)) :version "21.1" :group 'font-selection :set #[(symbol value) "\302 \"\210\303 !\207" [symbol value set-default internal-set-alternative-font-registry-alist] 3]) #@42 Return a list of all defined face names. (defalias 'face-list #[nil "\301\302\"\207" [face-new-frame-defaults mapcar car] 3 (#$ . 2999)]) #@299 Define a new face with name FACE, a symbol. NO-INIT-FROM-RESOURCES non-nil means don't initialize frame-local variants of FACE from X resources. (X resources recognized are found in the global variable `face-x-resources'.) If FACE is already known as a face, leave it unmodified. Value is FACE. (defalias 'make-face #[(face &optional no-init-from-resources) "\304!\2041\305 \306\211\203\n@\307 \"\210\nA\211\204*\310\311!\203)\311!\210 \2041\312!\210\207" [face frame #1=#:--cl-dolist-temp-- no-init-from-resources facep frame-list nil internal-make-lisp-face fboundp facemenu-add-new-face make-face-x-resource-internal] 4 (#$ . 3145) "SMake face: "]) #@109 Define a new, empty face with name FACE. If the face already exists, it is left unmodified. Value is FACE. (defalias 'make-empty-face #[(face) "\301\302\"\207" [face make-face no-init-from-resources] 3 (#$ . 3823) "SMake empty face: "]) #@595 Define a face just like OLD-FACE, with name NEW-FACE. If NEW-FACE already exists as a face, it is modified to be like OLD-FACE. If it doesn't already exist, it is created. If the optional argument FRAME is given as a frame, NEW-FACE is changed on FRAME only. If FRAME is t, the frame-independent default specification for OLD-FACE is copied to NEW-FACE. If FRAME is nil, copying is done for the frame-independent defaults and for each existing frame. If the optional fourth argument NEW-FRAME is given, copy the information from face OLD-FACE on frame FRAME to NEW-FACE on frame NEW-FRAME. (defalias 'copy-face #[(old-face new-face &optional frame new-frame) "\306 \204)\307 \310\211\203\n@\311 \f #\210\nA\211\204*\311 \f\306#\210\2020\312 \f $\210\f)\207" [inhibit-quit frame #1=#:--cl-dolist-temp-- old-face new-face new-frame t frame-list nil copy-face internal-copy-lisp-face] 5 (#$ . 4069)]) #@158 Retrieve the face named NAME. Return nil if there is no such face. If NAME is already a face, it is simply returned. The optional argument FRAME is ignored. (defalias 'internal-find-face #[(name &optional frame) "\301!\207" [name facep] 2 (#$ . 4990)]) (make-obsolete 'internal-find-face 'facep "21.1") #@145 Retrieve the face named NAME; error if there is none. If NAME is already a face, it is simply returned. The optional argument FRAME is ignored. (defalias 'internal-get-face #[(name &optional frame) "\301!\206 \302!\207" [name facep check-face] 2 (#$ . 5301)]) (make-obsolete 'internal-get-face "see `facep' and `check-face'." "21.1") #@213 Return non-nil if FACE is a face name or internal face object. Return nil otherwise. A face name can be a string or a symbol. An internal face object is a vector of the kind used internally to record face data. (defalias 'facep #[(face) "\301!\207" [face internal-lisp-face-p] 2 (#$ . 5645)]) #@61 Signal an error if FACE doesn't name a face. Value is FACE. (defalias 'check-face #[(face) "\301!\204 \302\303\"\210\207" [face facep error "Not a face: %s"] 3 (#$ . 5946)]) #@158 Return the internal ID of face with name FACE. The optional argument FRAME is ignored, since the internal face ID of a face name is the same for all frames. (defalias 'face-id #[(face &optional frame) "\301!\210\300N\207" [face check-face] 2 (#$ . 6131)]) #@317 Non-nil if faces FACE1 and FACE2 are equal. Faces are considered equal if all their attributes are equal. If the optional argument FRAME is given, report on FACE1 and FACE2 in that frame. If FRAME is t, report on the defaults for FACE1 and FACE2 (for new frames). If FRAME is omitted or nil, use the selected frame. (defalias 'face-equal #[(face1 face2 &optional frame) "\303 \n#\207" [face1 face2 frame internal-lisp-face-equal-p] 4 (#$ . 6396)]) #@266 Return non-nil if FACE displays differently from the default face. 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 frames). If FRAME is omitted or nil, use the selected frame. (defalias 'face-differs-from-default-p #[(face &optional frame) "\306\307 \203.\204. \211A@\310 \n\f\311$\211\312=\204*\313\n D\f\"\203*\n*\202*\207" [differs attrs attr face frame attr-val (:family :width :height :weight :slant :foreground :background :underline :overline :strike-through :box :inverse-video) nil face-attribute t unspecified display-supports-face-attributes-p] 6 (#$ . 6852)]) #@245 True if face FACE has some non-nil attribute. 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 frames). If FRAME is omitted or nil, use the selected frame. (defalias 'face-nontrivial-p #[(face &optional frame) "\302 \"?\207" [face frame internal-lisp-face-empty-p] 3 (#$ . 7534)]) #@304 *List of X resources and classes for face attributes. Each element has the form (ATTRIBUTE ENTRY1 ENTRY2...) where ATTRIBUTE is the name of a face attribute, and each ENTRY is a cons of the form (RESOURCE . CLASS) with RESOURCE being the resource and CLASS being the X resource class for the attribute. (custom-declare-variable 'face-x-resources ''((:family (".attributeFamily" . "Face.AttributeFamily")) (:width (".attributeWidth" . "Face.AttributeWidth")) (:height (".attributeHeight" . "Face.AttributeHeight")) (:weight (".attributeWeight" . "Face.AttributeWeight")) (:slant (".attributeSlant" . "Face.AttributeSlant")) (:foreground (".attributeForeground" . "Face.AttributeForeground")) (:background (".attributeBackground" . "Face.AttributeBackground")) (:overline (".attributeOverline" . "Face.AttributeOverline")) (:strike-through (".attributeStrikeThrough" . "Face.AttributeStrikeThrough")) (:box (".attributeBox" . "Face.AttributeBox")) (:underline (".attributeUnderline" . "Face.AttributeUnderline")) (:inverse-video (".attributeInverse" . "Face.AttributeInverse")) (:stipple (".attributeStipple" . "Face.AttributeStipple") (".attributeBackgroundPixmap" . "Face.AttributeBackgroundPixmap")) (:bold (".attributeBold" . "Face.AttributeBold")) (:italic (".attributeItalic" . "Face.AttributeItalic")) (:font (".attributeFont" . "Face.AttributeFont")) (:inherit (".attributeInherit" . "Face.AttributeInherit"))) '(#$ . -7911) :type '(repeat (cons symbol (repeat (cons string string)))) :group 'faces) #@231 Set FACE's ATTRIBUTE from X resource RESOURCE, class CLASS on FRAME. Value is the attribute value specified by the resource, or nil if not present. This function displays a message if the resource specifies an invalid attribute. (defalias 'set-face-attribute-from-resource #[(face attribute resource class frame) "\301!\306 \nP \f#\211\203\307\310\311\217\210 *\207" [face face-name resource class frame value internal-face-x-get-resource nil (byte-code "\304 \n\227 $\207" [face attribute value frame internal-set-lisp-face-attribute-from-resource] 5) ((error (message "Face %s, frame %s: invalid attribute %s %s from X resource" face-name frame attribute value)))] 5 (#$ . 9424)]) #@52 Set attributes of FACE from X resources for FRAME. (defalias 'set-face-attributes-from-resources #[(face frame) "\306!\307>\205B \310\211\203@ @\211@\nA\310\211\n\2038\n@\311 \f @ A%\210\nA\211\n\204 + A\211\204*\310\207" [frame face-x-resources definition #1=#:--cl-dolist-temp-- attribute entry framep (x w32 mac) nil set-face-attribute-from-resource #2=#:--cl-dolist-temp-- face] 8 (#$ . 10120)]) #@105 Fill frame-local FACE on FRAME from X resources. FRAME nil or not specified means do it for all frames. (defalias 'make-face-x-resource-internal #[(face &optional frame) "\204\303 \304\211\203 @\305\n\"\210 A\211\204 *\304\207\305\n\"\207" [frame #1=#:--cl-dolist-temp-- face frame-list nil set-face-attributes-from-resources] 4 (#$ . 10547)]) #@31 Return the name of face FACE. (defalias 'face-name #[(face) "\301\302!!\207" [face symbol-name check-face] 3 (#$ . 10909)]) #@953 Return the value of FACE's ATTRIBUTE on FRAME. 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 frames). If FRAME is omitted or nil, use the selected frame. If INHERIT is nil, only attributes directly defined by FACE are considered, so the return value may be `unspecified', or a relative value. If INHERIT is non-nil, FACE's definition of ATTRIBUTE is merged with the faces specified by its `:inherit' attribute; however the return value may still be `unspecified' or relative. If INHERIT is a face or a list of faces, then the result is further merged with that face (or faces), until it becomes specified and absolute. To ensure that the return value is always specified and absolute, use a value of `default' for INHERIT; this will resolve any unspecified or relative values by merging with the `default' face (which is always completely specified). (defalias 'face-attribute #[(face attribute &optional frame inherit) "\306 \n#\f\203'\307 \"\203'\310\311\n#\211\203& \312=\204&\313\314\315\217\210)\f\203?\f\316=\204?\307 \"\203?\317 \f\n$ )\207" [face attribute frame value inherit inh-from internal-get-lisp-face-attribute face-attribute-relative-p face-attribute :inherit unspecified nil (byte-code "\304 \n $\304\207" [attribute value inh-from frame face-attribute-merged-with] 5) ((error)) t face-attribute-merged-with] 6 (#$ . 11041)]) #@160 Merges ATTRIBUTE, initially VALUE, with faces from FACES until absolute. FACES may be either a single face or a list of faces. [This is an internal function.] (defalias 'face-attribute-merged-with #[(attribute value faces &optional frame) "\304 \"\204 \207\n\204 \207\n:\203\"\305\305 \n@ $\nA $\207\306 \307\n \310$#\207" [attribute value faces frame face-attribute-relative-p face-attribute-merged-with merge-face-attribute face-attribute t] 8 (#$ . 12510)]) #@93 Return VALUE, unless it's `unspecified', in which case evaluate BODY and return the result. (defalias 'face-attribute-specified-or '(macro . #[(value &rest body) "\303\304!\305 DC\306\307\310\311BBD\nBBBE)\207" [temp value body make-symbol "value" let if not eq ('unspecified)] 7 (#$ . 12987)])) #@905 Return the foreground color name of FACE, or nil if unspecified. 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 frames). If FRAME is omitted or nil, use the selected frame. If INHERIT is nil, only a foreground color directly defined by FACE is considered, so the return value may be nil. If INHERIT is t, and FACE doesn't define a foreground color, then any foreground color that FACE inherits through its `:inherit' attribute is considered as well; however the return value may still be nil. If INHERIT is a face or a list of faces, then it is used to try to resolve an unspecified foreground color. To ensure that a valid color is always returned, use a value of `default' for INHERIT; this will resolve any unspecified values by merging with the `default' face (which is always completely specified). (defalias 'face-foreground #[(face &optional frame inherit) "\304\305 \n$\211\306=?\205 )\207" [face frame inherit #1=#:value face-attribute :foreground unspecified] 6 (#$ . 13294)]) #@905 Return the background color name of FACE, or nil if unspecified. 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 frames). If FRAME is omitted or nil, use the selected frame. If INHERIT is nil, only a background color directly defined by FACE is considered, so the return value may be nil. If INHERIT is t, and FACE doesn't define a background color, then any background color that FACE inherits through its `:inherit' attribute is considered as well; however the return value may still be nil. If INHERIT is a face or a list of faces, then it is used to try to resolve an unspecified background color. To ensure that a valid color is always returned, use a value of `default' for INHERIT; this will resolve any unspecified values by merging with the `default' face (which is always completely specified). (defalias 'face-background #[(face &optional frame inherit) "\304\305 \n$\211\306=?\205 )\207" [face frame inherit #1=#:value face-attribute :background unspecified] 6 (#$ . 14392)]) #@876 Return the stipple pixmap name of FACE, or nil if unspecified. 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 frames). If FRAME is omitted or nil, use the selected frame. If INHERIT is nil, only a stipple directly defined by FACE is considered, so the return value may be nil. If INHERIT is t, and FACE doesn't define a stipple, then any stipple that FACE inherits through its `:inherit' attribute is considered as well; however the return value may still be nil. If INHERIT is a face or a list of faces, then it is used to try to resolve an unspecified stipple. To ensure that a valid stipple or nil is always returned, use a value of `default' for INHERIT; this will resolve any unspecified values by merging with the `default' face (which is always completely specified). (defalias 'face-stipple #[(face &optional frame inherit) "\304\305 \n$\211\306=?\205 )\207" [face frame inherit #1=#:value face-attribute :stipple unspecified] 6 (#$ . 15490)]) (defalias 'face-background-pixmap 'face-stipple) #@237 Return non-nil if FACE is underlined. 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 frames). If FRAME is omitted or nil, use the selected frame. (defalias 'face-underline-p #[(face &optional frame) "\302\303 #\304=\207" [face frame face-attribute :underline t] 4 (#$ . 16602)]) #@252 Return non-nil if FACE is in inverse video on FRAME. 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 frames). If FRAME is omitted or nil, use the selected frame. (defalias 'face-inverse-video-p #[(face &optional frame) "\302\303 #\304=\207" [face frame face-attribute :inverse-video t] 4 (#$ . 16979)]) #@292 Return non-nil if the font of FACE is bold on FRAME. 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 frames). If FRAME is omitted or nil, use the selected frame. Use `face-attribute' for finer control. (defalias 'face-bold-p #[(face &optional frame) "\303\304 #\211\305>)\207" [face frame bold face-attribute :weight (semi-bold bold extra-bold ultra-bold)] 5 (#$ . 17379)]) #@294 Return non-nil if the font of FACE is italic on FRAME. 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 frames). If FRAME is omitted or nil, use the selected frame. Use `face-attribute' for finer control. (defalias 'face-italic-p #[(face &optional frame) "\303\304 #\211\305>)\207" [face frame italic face-attribute :slant (italic oblique)] 5 (#$ . 17851)]) #@108 Get the documentation string for FACE. If FACE is a face-alias, get the documentation for the target face. (defalias 'face-documentation #[(face) "\303N\304\211\203\"\n\305N\306\307\n \203\306\310 \"\202\311$\202%\305N*\207" [face doc alias face-alias nil face-documentation format "%s is an alias for the face `%s'.%s" "\n%s" ""] 8 (#$ . 18306)]) #@50 Set the documentation string for FACE to STRING. (defalias 'set-face-documentation #[(face string) "\302\303\304 !#\207" [face string put face-documentation purecopy] 5 (#$ . 18672)]) (byte-code "\300\301\302\"\210\300\303\304\"\207" [defalias face-doc-string face-documentation set-face-doc-string set-face-documentation] 3) #@70 If non-nil, that tells `face-set-after-frame-default' to do nothing. (defvar inhibit-face-set-after-frame-default nil (#$ . 19005)) #@4837 Set attributes of FACE on FRAME from ARGS. FRAME nil means change attributes on all frames. FRAME t means change the default for new frames (this is done automatically each time an attribute is changed on all frames). ARGS must come in pairs ATTRIBUTE VALUE. ATTRIBUTE must be a valid face attribute name. All attributes can be set to `unspecified'; this fact is not further mentioned below. The following attributes are recognized: `:family' VALUE must be a string specifying the font family, e.g. ``courier'', or a fontset alias name. If a font family is specified, wild-cards `*' and `?' are allowed. `:width' VALUE specifies the relative proportionate width of the font to use. It must be one of the symbols `ultra-condensed', `extra-condensed', `condensed', `semi-condensed', `normal', `semi-expanded', `expanded', `extra-expanded', or `ultra-expanded'. `:height' VALUE must be either an integer specifying the height of the font to use in 1/10 pt, a floating point number specifying the amount by which to scale any underlying face, or a function, which is called with the old height (from the underlying face), and should return the new height. `:weight' VALUE specifies the weight of the font to use. It must be one of the symbols `ultra-bold', `extra-bold', `bold', `semi-bold', `normal', `semi-light', `light', `extra-light', `ultra-light'. `:slant' VALUE specifies the slant of the font to use. It must be one of the symbols `italic', `oblique', `normal', `reverse-italic', or `reverse-oblique'. `:foreground', `:background' VALUE must be a color name, a string. `:underline' VALUE specifies whether characters in FACE should be underlined. If VALUE is t, underline with foreground color of the face. If VALUE is a string, underline with that color. If VALUE is nil, explicitly don't underline. `:overline' VALUE specifies whether characters in FACE should be overlined. If VALUE is t, overline with foreground color of the face. If VALUE is a string, overline with that color. If VALUE is nil, explicitly don't overline. `:strike-through' VALUE specifies whether characters in FACE should be drawn with a line striking through them. If VALUE is t, use the foreground color of the face. If VALUE is a string, strike-through with that color. If VALUE is nil, explicitly don't strike through. `:box' VALUE specifies whether characters in FACE should have a box drawn around them. If VALUE is nil, explicitly don't draw boxes. If VALUE is t, draw a box with lines of width 1 in the foreground color of the face. If VALUE is a string, the string must be a color name, and the box is drawn in that color with a line width of 1. Otherwise, VALUE must be a property list of the form `(:line-width WIDTH :color COLOR :style STYLE)'. If a keyword/value pair is missing from the property list, a default value will be used for the value, as specified below. WIDTH specifies the width of the lines to draw; it defaults to 1. If WIDTH is negative, the absolute value is the width of the lines, and draw top/bottom lines inside the characters area, not around it. COLOR is the name of the color to draw in, default is the foreground color of the face for simple boxes, and the background color of the face for 3D boxes. STYLE specifies whether a 3D box should be draw. If STYLE is `released-button', draw a box looking like a released 3D button. If STYLE is `pressed-button' draw a box that appears like a pressed button. If STYLE is nil, the default if the property list doesn't contain a style specification, draw a 2D box. `:inverse-video' VALUE specifies whether characters in FACE should be displayed in inverse video. VALUE must be one of t or nil. `:stipple' If VALUE is a string, it must be the name of a file of pixmap data. The directories listed in the `x-bitmap-file-path' variable are searched. Alternatively, VALUE may be a list of the form (WIDTH HEIGHT DATA) where WIDTH and HEIGHT are the size in pixels, and DATA is a string containing the raw bits of the bitmap. VALUE nil means explicitly don't use a stipple pattern. For convenience, attributes `:family', `:width', `:height', `:weight', and `:slant' may also be set in one step from an X font name: `:font' Set font-related face attributes from VALUE. VALUE must be a valid XLFD font name. If it is a font name pattern, the first matching font will be used. For compatibility with Emacs 20, keywords `:bold' and `:italic' can be used to specify that a bold or italic font should be used. VALUE must be t or nil in that case. A value of `unspecified' is not allowed. `:inherit' VALUE is the name of a face from which to inherit attributes, or a list of face names. Attributes from inherited faces are merged into the face like an underlying face would be, with higher priority than underlying faces. (defalias 'set-face-attribute #[(face frame &rest args) "\204\306\202 \307\n! \310>\203 \311 \312N\206 \313\314#\210\n\205?\314\315 \n@\307\n\211A@)! $\210)\nAA\211\204$\316)\207" [frame where args face inhibit-face-set-after-frame-default x 0 purecopy (0 t) put face-alias face-modified t internal-set-lisp-face-attribute nil] 6 (#$ . 19145)]) #@228 Make the font of FACE be bold, if possible. FRAME nil or not specified means change face on all frames. Argument NOERROR is ignored and retained for compatibility. Use `set-face-attribute' for finer control of the font weight. (defalias 'make-face-bold #[(face &optional frame noerror) "\302 \303\304$\207" [face frame set-face-attribute :weight bold] 5 (#$ . 24348) (list (read-face-name "Make which face bold"))]) #@169 Make the font of FACE be non-bold, if possible. FRAME nil or not specified means change face on all frames. Argument NOERROR is ignored and retained for compatibility. (defalias 'make-face-unbold #[(face &optional frame noerror) "\302 \303\304$\207" [face frame set-face-attribute :weight normal] 5 (#$ . 24772) (list (read-face-name "Make which face non-bold"))]) #@229 Make the font of FACE be italic, if possible. FRAME nil or not specified means change face on all frames. Argument NOERROR is ignored and retained for compatibility. Use `set-face-attribute' for finer control of the font slant. (defalias 'make-face-italic #[(face &optional frame noerror) "\302 \303\304$\207" [face frame set-face-attribute :slant italic] 5 (#$ . 25145) (list (read-face-name "Make which face italic"))]) #@171 Make the font of FACE be non-italic, if possible. FRAME nil or not specified means change face on all frames. Argument NOERROR is ignored and retained for compatibility. (defalias 'make-face-unitalic #[(face &optional frame noerror) "\302 \303\304$\207" [face frame set-face-attribute :slant normal] 5 (#$ . 25575) (list (read-face-name "Make which face non-italic"))]) #@245 Make the font of FACE be bold and italic, if possible. FRAME nil or not specified means change face on all frames. Argument NOERROR is ignored and retained for compatibility. Use `set-face-attribute' for finer control of font weight and slant. (defalias 'make-face-bold-italic #[(face &optional frame noerror) "\302 \303\304\305\306&\207" [face frame set-face-attribute :weight bold :slant italic] 7 (#$ . 25953) (list (read-face-name "Make which face bold-italic"))]) #@269 Change font-related attributes of FACE to those of FONT (a string). FRAME nil or not specified means change face on all frames. This sets the attributes `:family', `:width', `:height', `:weight', and `:slant'. When called interactively, prompt for the face and font. (defalias 'set-face-font #[(face font &optional frame) "\303 \304\n$\207" [face frame font set-face-attribute :font] 5 (#$ . 26431) (read-face-and-attribute :font)]) #@286 Change the background color of face FACE to COLOR (a string). FRAME nil or not specified means change face on all frames. COLOR can be a system-defined color name (see `list-colors-display') or a hex spec of the form #RRGGBB. When called interactively, prompts for the face and color. (defalias 'set-face-background #[(face color &optional frame) "\303 \304\n\206 \305$\207" [face frame color set-face-attribute :background unspecified] 5 (#$ . 26873) (read-face-and-attribute :background)]) #@286 Change the foreground color of face FACE to COLOR (a string). FRAME nil or not specified means change face on all frames. COLOR can be a system-defined color name (see `list-colors-display') or a hex spec of the form #RRGGBB. When called interactively, prompts for the face and color. (defalias 'set-face-foreground #[(face color &optional frame) "\303 \304\n\206 \305$\207" [face frame color set-face-attribute :foreground unspecified] 5 (#$ . 27374) (read-face-and-attribute :foreground)]) #@427 Change the stipple pixmap of face FACE to STIPPLE. FRAME nil or not specified means change face on all frames. STIPPLE should be a string, the name of a file of pixmap data. The directories listed in the `x-bitmap-file-path' variable are searched. Alternatively, STIPPLE may be a list of the form (WIDTH HEIGHT DATA) where WIDTH and HEIGHT are the size in pixels, and DATA is a string, containing the raw bits of the bitmap. (defalias 'set-face-stipple #[(face stipple &optional frame) "\303 \304\n\206 \305$\207" [face frame stipple set-face-attribute :stipple unspecified] 5 (#$ . 27875) (read-face-and-attribute :stipple)]) #@376 Specify whether face FACE is underlined. UNDERLINE nil means FACE explicitly doesn't underline. UNDERLINE non-nil means FACE explicitly does underlining with the same of the foreground color. If UNDERLINE is a string, underline with the color named UNDERLINE. FRAME nil or not specified means change face on all frames. Use `set-face-attribute' to ``unspecify'' underlining. (defalias 'set-face-underline-p #[(face underline &optional frame) "\303 \304\n$\207" [face frame underline set-face-attribute :underline] 5 (#$ . 28512) (let ((list (read-face-and-attribute :underline))) (list (car list) (eq (car (cdr list)) t)))]) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias set-face-underline set-face-underline-p nil make-obsolete "22.1"] 4) #@319 Specify whether face FACE is in inverse video. INVERSE-VIDEO-P non-nil means FACE displays explicitly in inverse video. INVERSE-VIDEO-P nil means FACE explicitly is not in inverse video. FRAME nil or not specified means change face on all frames. Use `set-face-attribute' to ``unspecify'' the inverse video attribute. (defalias 'set-face-inverse-video-p #[(face inverse-video-p &optional frame) "\303 \304\n$\207" [face frame inverse-video-p set-face-attribute :inverse-video] 5 (#$ . 29280) (let ((list (read-face-and-attribute :inverse-video))) (list (car list) (eq (car (cdr list)) t)))]) #@273 Specify whether face FACE is bold. BOLD-P non-nil means FACE should explicitly display bold. BOLD-P nil means FACE should explicitly display non-bold. FRAME nil or not specified means change face on all frames. Use `set-face-attribute' or `modify-face' for finer control. (defalias 'set-face-bold-p #[(face bold-p &optional frame) "\204 \303 \n\"\207\304 \n\"\207" [bold-p face frame make-face-unbold make-face-bold] 3 (#$ . 29880)]) #@283 Specify whether face FACE is italic. ITALIC-P non-nil means FACE should explicitly display italic. ITALIC-P nil means FACE should explicitly display non-italic. FRAME nil or not specified means change face on all frames. Use `set-face-attribute' or `modify-face' for finer control. (defalias 'set-face-italic-p #[(face italic-p &optional frame) "\204 \303 \n\"\207\304 \n\"\207" [italic-p face frame make-face-unitalic make-face-italic] 3 (#$ . 30323)]) (defalias 'set-face-background-pixmap 'set-face-stipple) #@279 Swap the foreground and background colors of FACE. If FRAME is omitted or nil, it means change face on all frames. If FACE specifies neither foreground nor background color, set its foreground and background to the background and foreground of the default face. Value is FACE. (defalias 'invert-face #[(face &optional frame) "\304\305 #\304\306 #\211\307=\203\n\307=\204%\310 \305\n\306 &\210\2027\310 \305\304\311\306 #\306\304\311\305 #&\210*\207" [face frame bg fg face-attribute :foreground :background unspecified set-face-attribute default] 11 (#$ . 30843) (list (read-face-name "Invert face"))]) #@479 Read a face, defaulting to the face or faces on the char after point. If it has the property `read-face-name', that overrides the `face' property. PROMPT should be a string that describes what the caller will do with the face; it should not end in a space. STRING-DESCRIBING-DEFAULT should describe what default the caller will use if the user just types RET; you can omit it. If MULTIPLE is non-nil, return a list of faces (possibly only one). Otherwise, return a single face. (defalias 'read-face-name #[(prompt &optional string-describing-default multiple) "\306`\307\"\206 \306`\310\"\311\211\211\312\313\314!!\315 >\203$\312\313\314!!C <\203V\316 @!\204V @\317>\204V \311\211\203R @\2119\203K\fB A\211\204?*\202_ 9\203_ B\320!\210\321\322!\210$\204t\203t@C\323\324!\210\325\204\202%\203\230\326\327&\203\222\330\331\332#\202\224%#\202\235\326\333&\"\334\311\335\311\211\205\253\330\331\332#&\211'\336\232\204\274'\337\232\203\300\202\342';\203\322\340\341\342'\343\335#\"\202\342'<\203\340\340\341'\"\202\342'($\203\356(\202\361(@.\207" [faces nonaliasfaces aliasfaces faceprop f #1=#:--cl-dolist-temp-- get-char-property read-face-name face nil intern-soft thing-at-point symbol face-list keywordp (foreground-color background-color) delete-dups mapatoms #[(s) "\303!\205\304N\203\305! B\211\207\305!\nB\211\207" [s aliasfaces nonaliasfaces custom-facep face-alias symbol-name] 2] require crm completing-read-multiple format "%s (default %s): " mapconcat symbol-name "," "%s: " #[(string predicate mode) "\305=\203\306 \n #\2065\306 \f #\207\307=\203(\310 \n #\2065\310 \f #\207\311 \n #\2065\311 \f #\207" [mode string nonaliasfaces predicate aliasfaces t all-completions nil try-completion test-completion] 4] t "" ("") mapcar intern split-string ", *" multiple string-describing-default prompt input output] 12 (#$ . 31467)]) #@347 Return valid values for face attribute ATTRIBUTE. The optional argument FRAME is used to determine available fonts and colors. If it is nil or not specified, the selected frame is used. Value is an alist of (NAME . VALUE) if ATTRIBUTE expects a value out of a set of discrete values. Value is `integerp' if ATTRIBUTE expects an integer value. (defalias 'face-valid-attribute-values #[(attribute &optional frame) "\305=\203 \203\306\307\310 \"\202\224\311\211BC\202\224\312\313\"\203)\306\314\315!\"\202\224\312\316\"\203M \203D\306\317\315!\"\306\320\321\n!\"\244\202\224\306\322\315!\"\202\224\312\323\"\203]\306\324\321\n!\"\202\224\312\325\"\203h\326\202\224\327=\203\201 \330>\205\224\306\331\332\333\306\334 \"\"\"\202\224\335=\203\221\336\306\337\340 \"B\202\224\341\342!\211<\203\251\343>\204\251\344\345BC\f\244\202\252\f)\207" [attribute window-system frame x-bitmap-file-path valid :family mapcar #[(x) "@@B\207" [x] 2] x-font-family-list "default" memql (:width :weight :slant :inverse-video) #[(x) "\301!B\207" [x symbol-name] 2] internal-lisp-face-attribute-values (:underline :overline :strike-through :box) #[(x) "\301!B\207" [x symbol-name] 2] #[(c) "\211B\207" [c] 2] defined-colors #[(x) "\301!B\207" [x symbol-name] 2] (:foreground :background) #[(c) "\211B\207" [c] 2] (:height) integerp :stipple (x w32 mac) list apply nconc #[(dir) "\301!\205\302!\205\303!\207" [dir file-readable-p file-directory-p directory-files] 2] :inherit ("none") #[(c) "\301!B\207" [c symbol-name] 2] face-list error "Internal error" (:inherit) "unspecified" unspecified] 8 (#$ . 33395)]) #@233 An alist of descriptive names for face attributes. Each element has the form (ATTRIBUTE-NAME . DESCRIPTION) where ATTRIBUTE-NAME is a face attribute name (a keyword symbol), and DESCRIPTION is a descriptive name for ATTRIBUTE-NAME. (defvar face-attribute-name-alist '((:family . "font family") (:width . "character set width") (:height . "height in 1/10 pt") (:weight . "weight") (:slant . "slant") (:underline . "underline") (:overline . "overline") (:strike-through . "strike-through") (:box . "box") (:inverse-video . "inverse-video display") (:foreground . "foreground color") (:background . "background color") (:stipple . "background stipple") (:inherit . "inheritance")) (#$ . 35046)) #@42 Return a descriptive name for ATTRIBUTE. (defalias 'face-descriptive-attribute-name #[(attribute) " \236A\207" [attribute face-attribute-name-alist] 2 (#$ . 35744)]) #@381 Interactively read a face attribute string value. FACE is the face whose attribute is read. If non-nil, DEFAULT is the default string to return if no new value is entered. NAME is a descriptive name of the attribute for prompting. COMPLETION-ALIST is an alist of valid values, if non-nil. Entering nothing accepts the default string DEFAULT. Value is the new attribute value. (defalias 'face-read-string #[(face default name &optional completion-alist) "\306\307O\226\307\310OP\311\312\n\203\313\314 \n$\202 \313\315 #\f\310\211\211\211\n&\211\316\232\2033\n\2024 *\207" [name completion-ignore-case default face completion-alist value 0 1 nil t completing-read format "%s for face `%s' (default %s): " "%s for face `%s': " ""] 9 (#$ . 35918)]) #@258 Interactively read an integer face attribute value. FACE is the face whose attribute is read. DEFAULT is the default value to return if no new value is entered. NAME is a descriptive name of the attribute for prompting. Value is the new attribute value. (defalias 'face-read-integer #[(face default name) "\304\305\306 \"\n\307\310BC$\211\307\232\203\310\202$ \311\235\203! \202$\312 !)\207" [face default name new-value face-read-string format "%s" "unspecified" unspecified ("unspecified-fg" "unspecified-bg") string-to-number] 7 (#$ . 36687)]) #@180 Interactively read a new value for FACE's ATTRIBUTE. Optional argument FRAME nil or unspecified means read an attribute value of a global face. Value is the new attribute value. (defalias 'read-face-attribute #[(face attribute &optional frame) "\306 \n#\307 !\310 \n\"\311 \312=\204 \313=\203- :\204)\314 !\203-\315 ! <\203\206\316 \"@\206>\317\320 \"\321\f $\211\232\203V \202\202 \322>\203r \323>\204r\324\235\204r\325\n\"@\326 \"\203\202\326 \"A)\202\232 \327=\203\226\330 \f#\202\232\331\332!\210 \312=\204\246 \313=\203\272;\203\272\333\334\"\203\272\335!,\207" [face attribute frame old-value attribute-name valid face-attribute face-descriptive-attribute-name face-valid-attribute-values nil :stipple :box vectorp prin1-to-string rassoc format "%s" face-read-string (:foreground :background) (x w32 mac) ("unspecified" "unspecified-fg" "unspecified-bg") tty-color-desc assoc integerp face-read-integer error "Internal error" string-match "^[[(]" read new-value default window-system] 6 (#$ . 37251)]) #@114 Read the name of a font for FACE on FRAME. If optional argument FRAME is nil or omitted, use the selected frame. (defalias 'read-face-font #[(face &optional frame) "\303\304\305\306 \"\307\310\311\n#\")\207" [completion-ignore-case face frame t completing-read format "Set font attributes of face `%s' from font: " x-list-fonts "*" nil] 6 (#$ . 38332)]) #@175 Interactively read all attributes for FACE. If optional argument FRAME is nil or omitted, use the selected frame. Value is a property list of attribute names and new values. (defalias 'read-all-face-attributes #[(face &optional frame) "\306 \306\211\203 @\211@\307\f\n@ #BB A\211\204\n\306+\207" [result face-attribute-name-alist attribute #1=#:--cl-dolist-temp-- face frame nil read-face-attribute] 6 (#$ . 38694)]) #@357 Modify attributes of faces interactively. If optional argument FRAME is nil or omitted, modify the face used for newly created frame, i.e. the global face. For non-interactive use, `set-face-attribute' is preferred. When called from Lisp, if FACE is nil, all arguments but FRAME are ignored and the face and its settings are obtained by querying the user. (defalias 'modify-face #[(&optional face foreground background stipple bold-p italic-p underline inverse-p frame) "\203#\306 \307\n\206 \310\311 \206\310\312\f\313 \314\315\316&\207\317\320!\321\306 \322 \"$\207" [face frame foreground background stipple bold-p set-face-attribute :foreground unspecified :background :stipple :bold :italic :underline :inverse-video read-face-name "Modify face" apply read-all-face-attributes italic-p underline inverse-p] 17 (#$ . 39130) nil]) #@264 Read face name and face attribute value. ATTRIBUTE is the attribute whose new value is read. FRAME nil or unspecified means read attribute value of global face. Value is a list (FACE NEW-VALUE) where FACE is the face read (a symbol), and NEW-VALUE is value read. (defalias 'read-face-and-attribute #[(attribute &optional frame) "\306=\203\307\310 !\311\n \"\n\f+D\207\312!\313\314 \"\310 !\315\n #\n,D\207" [attribute prompt face frame font attribute-name :font "Set font-related attributes of face" read-face-name read-face-font face-descriptive-attribute-name format "Set %s of face" read-face-attribute new-value] 4 (#$ . 39987)]) #@70 *Text string to display as the sample text for `list-faces-display'. (defvar list-faces-sample-text "abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ" (#$ . -40642)) #@305 List all faces, using the same sample text in each. The sample text is a string that comes from the variable `list-faces-sample-text'. If REGEXP is non-nil, list only those faces with names matching this regular expression. When called interactively with a prefix arg, prompt for a regular expression. (defalias 'list-faces-display #[(&optional regexp) "\306G!\307 \310\311\211\211\211\211345\312\311\313\314\315\316 \317\"\"\"\211\204,\320\321\"\2103T3\322\3233\"\324\220\2126q\210\3257\326\327\330 \205I\331\332\333R!c\210\3118 \311(\2119\203\3339@(\334(!\322\f \"c\210\212\335 :\336\216\337 !\210\340D;\341\310\342(#\210+`\343 <=>c\210\212\335 :\344\216\337>!\210\341\310\345(#\210+\346c\210\347=`S\350($\210\347<`S\351($\210=b\210\352y\210m\204\321\353\3543\"\210\352y\210\202\301*9A\2119\204\\*eb\210)\355 \221\210\356\357\324!\325\"\211\203\365\360\n!\202\370\361 @4 =\206\316 \211\205\362 @ @4 $\210 A\211\204\311).\207" [regexp face-name window disp-frame line-format faces zerop selected-frame 0 nil delq mapcar #[(f) "\305!\n\204\306 \"\205 G\f])\207" [f s all-faces regexp max-length symbol-name string-match] 3] sort face-list string-lessp error "No faces matching \"%s\"" format "%%-%ds" "*Faces*" t substitute-command-keys "Use " display-mouse-p "\\[help-follow-mouse] or " "\\[help-follow] on a face name to customize it\n" "or on its sample text for a description of the face.\n\n" symbol-name match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) search-backward list-faces-display help-xref-button help-customize-face line-beginning-position ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) help-face "\n" put-text-property face read-face-name 1 insert-char 32 print-help-return-message get-buffer-window get-buffer window-frame frame-list copy-face max-length frame all-faces standard-output truncate-lines help-xref-stack #1=#:--cl-dolist-temp-- save-match-data-internal help-xref-stack-item line-beg beg list-faces-sample-text] 9 (#$ . 40820) (list (and current-prefix-arg (read-string "List faces matching regexp: ")))]) #@359 Display the properties of face FACE on FRAME. Interactively, FACE defaults to the faces of the character after point and FRAME defaults to the selected frame. 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 frames). If FRAME is omitted or nil, use the selected frame. (defalias 'describe-face #[(face &optional frame) "\306\307\310\311\312\"\"\313\314\nDt\"\210\n\204\315\n<\204\nC\316 \220\212 q\210\n\317\211\203 @\320\321\f!\261\210\322\f!\204D\323c\210\202\324\317;<\325\326\327\330\f#\331Qc\210\332\325<\333Q!\210\334\335\f!\206d\336\337\261\210r q\210\212\340\341<\342Q\317\343#\210\344\345\346\f#\210*\347\f\350\";\351;!\211;\203\265\332\352!\210\332;!\210\332\353!\210\212\340\354\317\343#\210\344\345\355\f;$\210)\332\356!\210\357 \210\357 \210\317=\211>\203>@=\360\f=@?#@\361 =AGZ\362\"=A\363\364\365@\"\261\210=@\366=\203@\367=\204\212\340\370\317\343#\210\344\345\371@#\210)\337c\210)>A\211>\204\277,\357 \210 A\211\204.+\372 \221*\207" [attrs max-width face standard-output f #1=#:--cl-dolist-temp-- ((:family . "Family") (:width . "Width") (:height . "Height") (:weight . "Weight") (:slant . "Slant") (:foreground . "Foreground") (:background . "Background") (:underline . "Underline") (:overline . "Overline") (:strike-through . "Strike-through") (:box . "Box") (:inverse-video . "Inverse") (:stipple . "Stipple") (:font . "Font or fontset") (:inherit . "Inherit")) apply max mapcar #[(x) "AG\207" [x] 1] help-setup-xref describe-face default help-buffer nil "Face: " symbol-name facep " undefined face.\n" "customize this face" " (" propertize "sample" font-lock-face ")" princ ")\n" "Documentation: " face-documentation "Not documented as a face." "\n" re-search-backward "\\(" "\\)" t help-xref-button 1 help-customize-face symbol-file defface describe-simplify-lib-file-name "Defined in `" "'" "`\\([^`']+\\)'" help-face-def "." terpri face-attribute make-string 32 ": " format "%s" :inherit unspecified ": \\([^:]+\\)" help-face print-help-return-message file-name customize-label a #2=#:--cl-dolist-temp-- frame attr] 9 (#$ . 43024) (list (read-face-name "Describe face" "= `default' face" t))]) #@242 Return a `defface'-style attribute list for FACE on FRAME. Value is a property list of pairs ATTRIBUTE VALUE for all specified face attributes of FACE where ATTRIBUTE is the attribute name and VALUE is the specified value of that attribute. (defalias 'face-attr-construct #[(face &optional frame) "\306 \306\211\203+ @\211@\307 \f\"\211 \310=\204#\f D\244* A\211\204\n\306+\207" [result face-attribute-name-alist entry #1=#:--cl-dolist-temp-- attribute face nil face-attribute unspecified value] 4 (#$ . 45297)]) #@139 Non-nil if DISPLAY matches FRAME. DISPLAY is part of a spec such as can be used in `defface'. If FRAME is nil, the current FRAME is used. (defalias 'face-spec-set-match-display #[(display frame) "\306\211\306\307 \307=\203\306 \203\302 \203\302 @ A\n@\nA \310=\203{\f>\206\276\204>\311\f>\206\276\312\f>\203J\313\312!\206\276\314\f>\203V\313\314!\206\276\315\f>\203o\313\316!\203o\313\312!\204o\313\314!?\206\276\316\f>\205\276\313\316!\202\276 \317=\203\213\320!\f@Y\202\276 \321=\203\233\322\323\"\f>\202\276 \324=\203\253\322\325\"\f>\202\276 \326=\203\271\327\f\"\202\276\330\331 \f#\202 -\207" [display conjuncts conjunct req options match nil t type tty motif featurep gtk lucid x-toolkit min-colors display-color-cells class frame-parameter display-type background background-mode supports display-supports-face-attributes-p error "Unknown req `%S' with options `%S'" window-system frame] 5 (#$ . 45832)]) #@82 Choose the proper attributes for FRAME, out of SPEC. If SPEC is nil, return nil. (defalias 'face-spec-choose #[(spec &optional frame) "\204\306  \307\211\f\203P\f\211A@\211@ A\f\307 \fA\204.\f@\2020\f  \310=\203? \202L\311 \"\203L \307,\202 \n\203[\312 \n\"\202\\ +\207" [frame spec defaults result tail entry selected-frame nil default face-spec-set-match-display append display attrs thisval] 4 (#$ . 46803)]) #@55 Reset all attributes of FACE on FRAME to unspecified. (defalias 'face-spec-reset-face #[(face &optional frame) "\211\205 @\305 \f\n@\306$\210) A\211\204\307)\207" [face-attribute-name-alist attrs attr-and-name face frame set-face-attribute unspecified nil] 6 (#$ . 47255)]) #@229 Set FACE's attributes according to the first matching entry in SPEC. FRAME is the frame whose frame-local face is set. FRAME nil means do it on all frames. See `defface' for information about SPEC. If SPEC is nil, do nothing. (defalias 'face-spec-set #[(face spec &optional frame) "\306 \"\203\307 \"\210\n\203p\n@\nA@\211\310=\203.\311\f\203)\312\202*\313\202\\ \314=\203C\315\f\203>\316\202?\313\202\\\317 \320\"\203S\f\204\\\321\202\\ \236\204\\\322 \203g\323 \f$\210*\nAA\211\204) ?\205\201\324 \325N\206~ \326\322#\207" [spec frame attrs face value attribute face-spec-choose face-spec-reset-face :bold :weight bold normal :italic :slant italic memql (:foreground :background) unspecified nil set-face-attribute put face-alias face-modified face-x-resources] 6 (#$ . 47544)]) #@177 Return t if attributes of FACE match values in plist ATTRS. Optional parameter FRAME is the frame whose definition of FACE is used. If nil or omitted, use the selected frame. (defalias 'face-attr-match-p #[(face attrs &optional frame) "\204\306  \307\n\203= \203= @@\310 \f\"\203%\311 \f\"\202&\312\f\313 \f#\f\232 A+\202 \n*\207" [frame face-attribute-name-alist match list attr attrs selected-frame t plist-member plist-get unspecified face-attribute specified-value face value-now] 4 (#$ . 48371)]) #@73 Return t if FACE, on FRAME, matches what SPEC says it should look like. (defalias 'face-spec-match-p #[(face spec &optional frame) "\303\304 \n\"\n#\207" [face spec frame face-attr-match-p face-spec-choose] 5 (#$ . 48902)]) #@118 Return the default face-spec for FACE, ignoring any user customization. If there is no default for FACE, return nil. (defalias 'face-default-spec #[(face) "\301N\207" [face face-defface-spec] 2 (#$ . 49134)]) (put 'face-default-spec 'byte-optimizer 'byte-compile-inline-expand) #@145 Return the user's customized face-spec for FACE, or the default if none. If there is neither a user setting nor a default for FACE, return nil. (defalias 'face-user-default-spec #[(face) "\301N\206\302N\206\211\303N)\207" [face customized-face saved-face face-defface-spec] 3 (#$ . 49420)]) (put 'face-user-default-spec 'byte-optimizer 'byte-compile-inline-expand) #@278 Return a list of colors supported for a particular frame. The argument FRAME specifies which frame to try. The value may be different for frames on different display types. If FRAME doesn't support colors, the value is nil. If FRAME is nil, that stands for the selected frame. (defalias 'defined-colors #[(&optional frame) "\301\206\302 !\303>\203\304!\207\305\306\307!\"\207" [frame framep selected-frame (x w32 mac) xw-defined-colors mapcar car tty-color-alist] 4 (#$ . 49800)]) (defalias 'x-defined-colors 'defined-colors) #@227 Return non-nil if color COLOR is supported on frame FRAME. If FRAME is omitted or nil, use the selected frame. If COLOR is the symbol `unspecified' or one of the strings "unspecified-fg" or "unspecified-bg", the value is nil. (defalias 'color-defined-p #[(color &optional frame) "\302\235?\205\303 \206\304 !\305\235\203\306 \"\207\307 \"\247\207" [color frame (unspecified "unspecified-bg" "unspecified-fg") framep selected-frame (x w32 mac) xw-color-defined-p tty-color-translate] 3 (#$ . 50340)]) (defalias 'x-color-defined-p 'color-defined-p) #@473 Return a description of the color named COLOR on frame FRAME. The value is a list of integer RGB values--(RED GREEN BLUE). These values appear to range from 0 to 65280 or 65535, depending on the system; white is (65280 65280 65280) or (65535 65535 65535). If FRAME is omitted or nil, use the selected frame. If FRAME cannot display COLOR, the value is nil. If COLOR is the symbol `unspecified' or one of the strings "unspecified-fg" or "unspecified-bg", the value is nil. (defalias 'color-values #[(color &optional frame) "\302\235?\205\303 \206\304 !\305>\203\306 \"\207\307 \"\207" [color frame (unspecified "unspecified-fg" "unspecified-bg") framep selected-frame (x w32 mac) xw-color-values tty-color-values] 3 (#$ . 50903)]) (defalias 'x-color-values 'color-values) #@233 Return t if DISPLAY supports color. The optional argument DISPLAY specifies which display to ask about. DISPLAY should be either a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display. (defalias 'display-color-p #[(&optional display) "\301!\302>\203\f\303!\207\304!\207" [display framep-on-display (x w32 mac) xw-display-color-p tty-display-color-p] 2 (#$ . 51690)]) (defalias 'x-display-color-p 'display-color-p) #@65 Return non-nil if frames on DISPLAY can display shades of gray. (defalias 'display-grayscale-p #[(&optional display) "\302!\211\303>\203\304!\202\305!\306V)\207" [display frame-type framep-on-display (x w32 mac) x-display-grayscale-p tty-color-gray-shades 2] 3 (#$ . 52161)]) #@295 *The brightness of the background. Set this to the symbol `dark' if your background color is dark, `light' if your background is light, or nil (automatic by default) if you want Emacs to examine the brightness for you. Don't set this variable with `setq'; this won't have the expected effect. (custom-declare-variable 'frame-background-mode 'nil '(#$ . -52452) :group 'faces :set #[(var value) "\302 \"\210\303\304\305 \"\207" [var value set-default mapc frame-set-background-mode frame-list] 3] :initialize 'custom-initialize-changed :type '(choice (const dark) (const light) (const :tag "automatic" nil))) #@335 Internal variable for the default brightness of the background. Emacs sets it automatically depending on the terminal type. The value `nil' means `dark'. If Emacs runs in non-windowed mode from `xterm' or a similar terminal emulator, the value is `light'. On rxvt terminals, the value depends on the environment variable COLORFGBG. (defvar default-frame-background-mode nil (#$ . 53069)) #@181 Set up display-dependent faces on FRAME. Display-dependent faces are those which have different definitions according to the `background-mode' and `display-type' frame parameters. (defalias 'frame-set-background-mode #[(frame) "\205\306\307\310\"\311\n\312\"\f\206h \203\313 \227!\202h\204- \204- \206h\314\202h \315\235\203; \206h\314\202h \316\232\203O \317=\203K\314\202h\317\202h\320\321\322 \n\"\"\320\321\322\323\n\"\"\324_Y\203g\317\202h\314&\204|\325\n!\203x\326\202\221\327\202\221\330\n!\203\206\326\202\221\331\n!\203\220\332\202\221\327\311\n\333\"'\311\n\334\"(&'=\205\254(=?\205D\335)\336 \335*\211+\203\365+@*\337*\211*\211\340N\206\336*\341N\206\336*\211*\342N))\343 #\204\354*)B)+A\211+\204\276*\344\n\333&B\334BD\"\210\336 \335*\211,\203B,@\211*)>\2049\345*\211*\211\340N\2065*\341N\2065*\211*\342N))\n#\210,A\211,\204+\335.\207" [window-system bg-resource frame bg-color frame-background-mode default-frame-background-mode x-get-resource "backgroundMode" "BackgroundMode" frame-parameter background-color intern dark (unspecified "unspecified-bg") "unspecified-fg" light apply + color-values "white" 0.6 tty-display-color-p color mono display-color-p x-display-grayscale-p grayscale background-mode display-type nil face-list face-spec-match-p customized-face saved-face face-defface-spec selected-frame modify-frame-parameters face-spec-set bg-mode old-bg-mode old-display-type locally-modified-faces face #1=#:--cl-dolist-temp-- #2=#:--cl-dolist-temp--] 6 (#$ . 53466)]) #@106 Add geometry parameters for a named frame to parameter list PARAMETERS. Value is the new parameter list. (defalias 'x-handle-named-frame-geometry #[(parameters) "\302\236A\206 \302 \236A\211\n\205\306\307\310\"\211\2037\311\f!\312 \236\204+\313 \236\2030\314\315 \"\314 #)+\207" [parameters default-frame-alist name x-resource-name res-geometry parsed x-get-resource "geometry" "Geometry" x-parse-geometry top left append ((user-position . t) (user-size . t))] 5 (#$ . 55051)]) #@101 Handle the reverse-video frame parameter and X resource. `x-create-frame' does not handle this one. (defalias 'x-handle-reverse-video #[(frame parameters) "\306\236\206\306 \236\206\307\310\311\"\211\205\312\n\227\313\235B)A\205q\314 !\315\f\236A\316\f\236A\317 \315B\316 BD\"\210 \320\f\236A\232\203M\317 \320BC\"\210 \321\f\236A\232\203_\317 \321BC\"\210 \322\f\236A\232\205p\317 \322BC\"+\207" [parameters default-frame-alist resource frame params bg reverse x-get-resource "reverseVideo" "ReverseVideo" nil ("on" "true") frame-parameters foreground-color background-color modify-frame-parameters border-color mouse-color cursor-color fg] 6 (#$ . 55552)]) #@387 Create a frame from optional frame parameters PARAMETERS. Parameters not specified by PARAMETERS are taken from `default-frame-alist'. If PARAMETERS specify a frame name, handle X geometry resources for that name. If either PARAMETERS or `default-frame-alist' contains a `reverse' parameter, or the X resource ``reverseVideo'' is present, handle that. Value is the new frame created. (defalias 'x-create-frame-with-faces #[(&optional parameters) "\305!\306\236\303 \307\310B!\311\312\216\313\n\"\210\314\n!\210\315\n!\210 \203*\f\2041\316\n!\210\2027\317\n\fC\"\210\320)\n,\207" [parameters success frame frame-list visibility-spec x-handle-named-frame-geometry visibility x-create-frame (visibility) nil ((byte-code "\204\302 !\210\302\207" [success frame delete-frame] 2)) x-handle-reverse-video frame-set-background-mode face-set-after-frame-default make-frame-visible modify-frame-parameters t] 5 (#$ . 56242)]) #@121 Set frame-local faces of FRAME from face specs and resources. Initialize colors of certain faces from frame parameters. (defalias 'face-set-after-frame-default #[(frame) "\204Q\306\307\310\311#\203\312\307 \310\306\307\310\311#$\210\202Q\312\307 \313\306\307\313\311#$\210\312\307 \314\306\307\314\311#$\210\312\307 \315\306\307\315\311#$\210\312\307 \316\306\307\316\311#$\210\312\307 \317\306\307\317\311#$\210\320\321\211\321\211\203\246 @\322 \f@\"\fA@\323\f8\306\311#\211\324=\203\223\203\236 F\nB\202\236 F\nB, A\211\204]*\325\307\326 \"\321\211\203\310@\321\327\330\217\210A\211\204\265*\n\321\211\203\344@\331\312\f\"\210A\211\204\322,\321\207" [inhibit-face-set-after-frame-default frame apply-params face-params param #1=#:--cl-dolist-temp-- face-attribute default :font t set-face-attribute :family :height :slant :weight :width ((foreground-color default :foreground) (background-color default :background) (border-color border :background) (cursor-color cursor :background) (scroll-bar-foreground scroll-bar :foreground) (scroll-bar-background scroll-bar :background) (mouse-color mouse :background)) nil frame-parameter 2 unspecified delq face-list (byte-code "\303\211\211\304N\206\305N\206\211\306N)) #\210\n\307>\203%\310 \"\210\311 \"\207" [face frame window-system face-spec-set customized-face saved-face face-defface-spec (x w32 mac) make-face-x-resource-internal internal-merge-in-global-face] 5) ((error)) apply value face attr default-value #2=#:--cl-dolist-temp-- #3=#:--cl-dolist-temp--] 9 (#$ . 57183)]) #@63 Handle the reverse-video frame parameter for terminal frames. (defalias 'tty-handle-reverse-video #[(frame parameters) "\306\236\206 \306 \236A\205H\307\n!\310 \236A\311 \236A\312\n\310 B\311\fBD\"\210\f\313 \236A\232\2037\312\n\313 BC\"\210\f\314 \236A\232\205G\312\n\314 BC\"+\207" [parameters default-frame-alist frame params bg fg reverse frame-parameters foreground-color background-color modify-frame-parameters mouse-color cursor-color] 5 (#$ . 58802)]) #@261 Create a frame from optional frame parameters PARAMETERS. Parameters not specified by PARAMETERS are taken from `default-frame-alist'. If either PARAMETERS or `default-frame-alist' contains a `reverse' parameter, handle that. Value is the new frame created. (defalias 'tty-create-frame-with-faces #[(&optional parameters) "\303!\304\305\216\306\n\307\n!\"\210\310\n!\210\311\n!\210\312)\n*\207" [parameters success frame make-terminal-frame nil ((byte-code "\204\302 !\210\302\207" [success frame delete-frame] 2)) tty-handle-reverse-video frame-parameters frame-set-background-mode face-set-after-frame-default t] 4 (#$ . 59278)]) (defalias 'tty-set-up-initial-frame-faces #[nil "\301 \302!\210\303!)\207" [frame selected-frame frame-set-background-mode face-set-after-frame-default] 2]) (byte-code "\306\307\310\311#\210\312\307\313\314#\210\306\315\316\317#\210\312\315\316\314#\210\320\321\317\322\323\324%\210\325\326\327\330\323\321%\210\325\331\332\333\323\321%\210\325\334\335\336\323\321%\210\325\337\340\341\323\321%\210\325\342\343\344\323\321%\210\325\345\346\347\323\321%\210\325\350\351\352\323\321%\210\325\353\354\355\323\321\356\357&\210\325\360\361\362\323\321\356\357&\210\325\363\364\365\323\321\356\357&\210\325\366\367\370\323\321%\210\325\371\372\373\356\314\323\321&\210\325\374\375\376\323\321%\210\325\377\201Q\201R\356\314\323\201S\323\321& \210\325\201T\201U\201V\323\321\356\357&\210\325\201W\201X\201Y\323\321\356\357&\210\320\201Z\317\201[\323\201\\\323\324\356\357& \210\325\201\\\201]\201^\356\314\323\201Z\323\321& \210\325\201_\201`\201a\356\357\323\201Z\323\321& \210\325\201b\201c\201d\356\357\323\201Z\323\321& \210\325\201e\201f\201g\356\357\323\201Z\323\321& \210\201h\201i\201j\201\\#\210\201h\201k\201j\201_#\210\201h\201l\201j\201b#\210\201h\201m\201j\201e#\210\325\201n\201o\201p\356\314\323\321&\210\325\201q\201r\201s\356\357\323\321&\210\325\201t\201u\201v\356\357\323\321&\210\201w\201x\201tD\"\325\201y\201z\201{\356\314\323\201|\323\321& \210\325\201}\201~\201\356\314\323\201|\323\321& \210\325\201\200\201\201\201\202\356\314\323\201|\323\321& \210\325\201\203\201\204\201\205\356\314\323\201\203\323\321& \210\201h\201\203\201\206\201\207#\210\325\201\210\201\211\201\212\356\314\323\201\210\323\321& \210\325\201\213\201\214\201\215\356\314\323\321&\210\325\201\216\201\217\201\220\356\314\323\201\216\323\321& \210\201M B\201\221\201M!\204^\201\222\201M\317\"\210\201N B\201\221\201N!\204w\201\222\201N\317\"\210\201P B\201\221\201P!\204\220\201\222\201P\317\"\210\201O B\201\221\201O!\204\251\201\222\201O\317\"\210\201\223 B\201\224\201\225!\210\201\226 B\201\227\201\230!\210\201\231 B\201\232\201\233!\210\201\234 B\201\235\201\236!\210\201\237\201\240\211\201\241\201\242\201\243\201\244\201\242\211\201\245\201\246\211\211\201\247\201\245\201\240\211@ABCDEFGHIJKL\201\250KLJLHLFLELDLCLBLAL@L L\fL L\n\201\251\260M\201\252KLJLHLF\201\253\260 NLGLQOLILQP.\317\207" [minibuffer-prompt-properties current-load-list encoding registry avgwidth spacing defalias frame-update-faces ignore "" make-obsolete "no longer necessary." "21.1" frame-update-face-colors frame-set-background-mode nil custom-declare-group basic-faces "The standard faces of Emacs." :group faces custom-declare-face default ((t nil)) "Basic default face." bold ((t :weight bold)) "Basic bold face." italic ((((supports :slant italic)) :slant italic) (((supports :underline t)) :underline t) (t :slant italic)) "Basic italic face." bold-italic ((t :weight bold :slant italic)) "Basic bold-italic face." underline ((((supports :underline t)) :underline t) (((supports :weight bold)) :weight bold) (t :underline t)) "Basic underlined face." fixed-pitch ((t :family "courier")) "The basic fixed-pitch face." variable-pitch ((t :family "helv")) "The basic variable-pitch face." shadow ((((class color grayscale) (min-colors 88) (background light)) :foreground "grey50") (((class color grayscale) (min-colors 88) (background dark)) :foreground "grey70") (((class color) (min-colors 8) (background light)) :foreground "green") (((class color) (min-colors 8) (background dark)) :foreground "yellow")) "Basic face for shadowed text." :version "22.1" link ((((class color) (min-colors 88) (background light)) :foreground "blue1" :underline t) (((class color) (background light)) :foreground "blue" :underline t) (((class color) (min-colors 88) (background dark)) :foreground "cyan1" :underline t) (((class color) (background dark)) :foreground "cyan" :underline t) (t :inherit underline)) "Basic face for unvisited links." link-visited ((default :inherit link) (((class color) (background light)) :foreground "magenta4") (((class color) (background dark)) :foreground "violet")) "Basic face for visited links." highlight ((((class color) (min-colors 88) (background light)) :background "darkseagreen2") (((class color) (min-colors 88) (background dark)) :background "darkolivegreen") (((class color) (min-colors 16) (background light)) :background "darkseagreen2") (((class color) (min-colors 16) (background dark)) :background "darkolivegreen") (((class color) (min-colors 8)) :background "green" :foreground "black") (t :inverse-video t)) "Basic face for highlighting." region ((((class color) (min-colors 88) (background dark)) :background "blue3") (((class color) (min-colors 88) (background light)) :background "lightgoldenrod2") (((class color) (min-colors 16) (background dark)) :background "blue3") (((class color) (min-colors 16) (background light)) :background "lightgoldenrod2") (((class color) (min-colors 8)) :background "blue" :foreground "white") (((type tty) (class mono)) :inverse-video t) (t :background "gray")) "Basic face for highlighting the region." secondary-selection ((((class color) (min-colors 88) (background light)) :background "yellow1") (((class color) (min-colors 88) (background dark)) :background "SkyBlue4") (((class color) (min-colors 16) (background light)) :background "yellow") (((class color) (min-colors 16) (background dark)) :background "SkyBlue4") (((class color) (min-colors 8)) :background "cyan" :foreground "black") (t :inverse-video t)) "Basic face for displaying the secondary selection." trailing-whitespace resy resx pointsize pixelsize adstyle swidth slant\? slant weight\? weight family foundry - x-font-regexp x-font-regexp-head x-font-regexp-slant x-font-regexp-weight ((((class color) (background light)) :background "red1") (((class color) (background dark)) :background "red1") (t :inverse-video t)) "Basic face for highlighting trailing whitespace." whitespace-faces escape-glyph ((((background dark)) :foreground "cyan") (((type pc)) :foreground "magenta") (t :foreground "brown")) "Face for characters displayed as sequences using `^' or `\\'." nobreak-space ((((class color) (min-colors 88)) :inherit escape-glyph :underline t) (((class color) (min-colors 8)) :background "magenta") (t :inverse-video t)) "Face for displaying nobreak space." mode-line-faces "Faces used in the mode line." mode-line ((((class color) (min-colors 88)) :box (:line-width -1 :style released-button) :background "grey75" :foreground "black") (t :inverse-video t)) "Basic mode line face for selected window." mode-line-inactive ((default :inherit mode-line) (((class color) (min-colors 88) (background light)) :weight light :box (:line-width -1 :color "grey75" :style nil) :foreground "grey20" :background "grey90") (((class color) (min-colors 88) (background dark)) :weight light :box (:line-width -1 :color "grey40" :style nil) :foreground "grey80" :background "grey30")) "Basic mode line face for non-selected windows." mode-line-highlight ((((class color) (min-colors 88)) :box (:line-width 2 :color "grey40" :style released-button)) (t :inherit highlight)) "Basic mode line face for highlighting." mode-line-buffer-id ((t (:weight bold))) "Face used for buffer identification parts of the mode line." put modeline face-alias modeline-inactive modeline-highlight modeline-buffer-id header-line ((default :inherit mode-line) (((type tty)) :inverse-video nil :underline t) (((class color grayscale) (background light)) :background "grey90" :foreground "grey20" :box nil) (((class color grayscale) (background dark)) :background "grey20" :foreground "grey90" :box nil) (((class mono) (background light)) :background "white" :foreground "black" :inverse-video nil :box nil :underline t) (((class mono) (background dark)) :background "black" :foreground "white" :inverse-video nil :box nil :underline t)) "Basic header-line face." vertical-border ((((type tty)) :inherit mode-line-inactive)) "Face used for vertical window dividers on ttys." minibuffer-prompt ((((background dark)) :foreground "cyan") (((type pc)) :foreground "magenta") (t :foreground "medium blue")) "Face for minibuffer prompts.\nBy default, Emacs automatically adds this face to the value of\n`minibuffer-prompt-properties', which is a list of text properties\nused to display the prompt text." append face fringe ((((class color) (background light)) :background "grey95") (((class color) (background dark)) :background "grey10") (t :background "gray")) "Basic face for the fringes to the left and right of windows under X." frames scroll-bar ((t nil)) "Basic face for the scroll bar colors under X." border ((t nil)) "Basic face for the frame border under X." cursor ((t nil)) "Basic face for the cursor color under X.\nNote: Other faces cannot inherit from the cursor face." face-no-inherit t mouse ((t nil)) "Basic face for the mouse color under X." tool-bar ((default :box (:line-width 1 :style released-button) :foreground "black") (((type x w32 mac) (class color)) :background "grey75") (((type x) (class mono)) :background "grey")) "Basic tool-bar face." menu ((((type tty)) :inverse-video t) (((type x-toolkit))) (t :inverse-video t)) "Basic face for the font and colors of the menu bar and popup menus." default-boundp set-default x-font-regexp-weight-subnum (lambda (#1=#:defconst-tmp-var) (defconst x-font-regexp-weight-subnum #1#)) 1 x-font-regexp-slant-subnum (lambda (#2=#:defconst-tmp-var) (defconst x-font-regexp-slant-subnum #2#)) 2 x-font-regexp-swidth-subnum (lambda (#3=#:defconst-tmp-var) (defconst x-font-regexp-swidth-subnum #3#)) 3 x-font-regexp-adstyle-subnum (lambda (#4=#:defconst-tmp-var) (defconst x-font-regexp-adstyle-subnum #4#)) 4 "[-?]" "[^-]+" "\\(bold\\|demibold\\|medium\\)" "\\([^-]*\\)" "\\([ior]\\)" "\\([^-]?\\)" "[0-9]+" "[0-9][0-9]+" "[cmp?*]" "\\`\\*?[-?*]" "\\*?\\'" "\\`[-?*]" "\\([-*?]\\|\\'\\)"] 29) #@284 Return a font name matching PATTERN. All wildcards in PATTERN are instantiated. If PATTERN is nil, return the name of the frame's base font, which never contains wildcards. Given optional arguments FACE and FRAME, return a font which is also the same size as FACE on FRAME, or fail. (defalias 'x-resolve-font-name #[(pattern &optional face frame) "9\204 \304! \305=\203\306\n\203`\307\n \310$\211\204\\\203W\311\312\n\"\203@\313!\2048\314\315!\210\202\\\314\316\"\210\202\\\313!\204N\314\317\n\"\210\202\\\314\320\n#\210\202\\\314\321\n\"\210 @)\207\322\323\324 !\236A\207" [face frame pattern fonts face-name t nil x-list-fonts 1 string-match "\\*" face-font error "No matching fonts are the same height as the frame default font" "No matching fonts are the same height as face `%s'" "Height of font `%s' doesn't match the frame default font" "Height of font `%s' doesn't match face `%s'" "No fonts match `%s'" font frame-parameters selected-frame] 6 (#$ . 69990)]) (defalias 'x-frob-font-weight #[(font which) "\306\307 \n\"\203 \n\310 \224O\f\n \225 \224O\311\n \225\312O\260\202K\307\f\n\"\2037\n\310\313\224O\f\n\313\225\312OQ\202K\307 \n\"\205K\n\310\313\224O\f\n\313\225\312OQ)\207" [case-fold-search x-font-regexp font x-font-regexp-weight-subnum which x-font-regexp-adstyle-subnum t string-match 0 "*" nil 1 x-font-regexp-head x-font-regexp-weight] 7]) (make-obsolete 'x-frob-font-weight 'make-face-\.\.\. "21.1") (defalias 'x-frob-font-slant #[(font which) "\306\307 \n\"\203 \n\310 \224O\f\n \225 \224O\311\n \225\312O\260\202K\307 \n\"\2037\n\310\313\224O\f\n\313\225\312OQ\202K\307\n\"\205K\n\310\314\224O\f\n\314\225\312OQ)\207" [case-fold-search x-font-regexp font x-font-regexp-slant-subnum which x-font-regexp-adstyle-subnum t string-match 0 "*" nil 2 1 x-font-regexp-head x-font-regexp-slant] 7]) (byte-code "\300\301\302\303#\210\304\305\306\"\210\304\307\301\"\207" [make-obsolete x-frob-font-slant make-face-\.\.\. "21.1" defalias internal-frob-font-weight x-frob-font-weight internal-frob-font-slant] 4) #@94 Given an X font specification, make a bold version of it. If that can't be done, return nil. (defalias 'x-make-font-bold #[(font) "\301\302\"\207" [font internal-frob-font-weight "bold"] 3 (#$ . 72065)]) (make-obsolete 'x-make-font-bold 'make-face-bold "21.1") #@98 Given an X font specification, make a demibold version of it. If that can't be done, return nil. (defalias 'x-make-font-demibold #[(font) "\301\302\"\207" [font internal-frob-font-weight "demibold"] 3 (#$ . 72333)]) (make-obsolete 'x-make-font-demibold 'make-face-bold "21.1") #@98 Given an X font specification, make a non-bold version of it. If that can't be done, return nil. (defalias 'x-make-font-unbold #[(font) "\301\302\"\207" [font internal-frob-font-weight "medium"] 3 (#$ . 72617)]) (make-obsolete 'x-make-font-unbold 'make-face-unbold "21.1") #@97 Given an X font specification, make an italic version of it. If that can't be done, return nil. (defalias 'x-make-font-italic #[(font) "\301\302\"\207" [font internal-frob-font-slant "i"] 3 (#$ . 72897)]) (make-obsolete 'x-make-font-italic 'make-face-italic "21.1") #@98 Given an X font specification, make an oblique version of it. If that can't be done, return nil. (defalias 'x-make-font-oblique #[(font) "\301\302\"\207" [font internal-frob-font-slant "o"] 3 (#$ . 73170)]) (make-obsolete 'x-make-font-oblique 'make-face-italic "21.1") #@100 Given an X font specification, make a non-italic version of it. If that can't be done, return nil. (defalias 'x-make-font-unitalic #[(font) "\301\302\"\207" [font internal-frob-font-slant "r"] 3 (#$ . 73447)]) (make-obsolete 'x-make-font-unitalic 'make-face-unitalic "21.1") #@105 Given an X font specification, make a bold and italic version of it. If that can't be done, return nil. (defalias 'x-make-font-bold-italic #[(font) "\301\302\"\211\205 \303\304\"\207" [font internal-frob-font-weight "bold" internal-frob-font-slant "i"] 3 (#$ . 73730)]) (byte-code "\300\301\302\303#\210\304\305!\207" [make-obsolete x-make-font-bold-italic make-face-bold-italic "21.1" provide faces] 4)