home *** CD-ROM | disk | FTP | other *** search
- ;;; compiled by @win386 on Thu Apr 29 20:42:25 1993
- ;;; from file c:/src/winemacs/lisp/prim/faces.el
- ;;; emacs version 19.4 (Win-Emacs 1.00.04 beta).
- ;;; bytecomp version 2.09; 16-jan-93.
- ;;; optimization is on.
- ;;; this file uses opcodes which do not exist in Emacs18.
-
- (if (and (boundp 'emacs-version)
- (or (and (boundp 'epoch::version) epoch::version)
- (string-lessp emacs-version "19")))
- (error "This file was compiled for Emacs19."))
-
- (byte-code "└┴Mê┬└├─#ê┼╞Mç" [facep #[(x) "└ !¡ï G┬U¡à ├H─=ç" [vectorp x 8 0 face] 2] put byte-optimizer byte-compile-inline-expand check-face (macro . #[(face) "└┴┬DD─┼╞╟╚EEEEç" [while not facep face setq signal 'wrong-type-argument list 'facep] 9])] 4)
- (defvar global-face-data nil "\
- do not use this")
- (defvar face-id-tick 0 "\
- don't even think of using this")
- (fset 'list-faces #[nil "└┴\n\"ç" [mapcar car global-face-data] 3 "\
- Returns a list of the names of all of the defined faces."])
- (fset 'find-face #[(name &optional screen) "┴=½ì\n9¼ë\n─!┼H)\n9½ö\n┴=½ä¬ç╟«é╚ !₧Aç\n ╩ !¡ì G╦U¡å ╠H├=)¼è═╬╧\nD\"ë¬^\nç" [screen t name face get-face 1 global-face-data screen-face-alist selected-screen x vectorp 8 0 signal wrong-type-argument facep] 5 "\
- Retrieve the face of the given name.
- If NAME is a symbol and SCREEN is provided, the face is looked up on
- that screen; otherwise, the selected screen is used.
- If there is no such face, returns nil.
- If SCREEN is the symbol t, then the global, non-screen face is returned.
- If NAME is already a face, it is simply returned."])
- (fset 'get-face #[(name &optional screen) "└ \n\"«á ─!¡ïG┼U¡à╞H╟=)?¡è╚╔╩ D\"ë¬aç" [find-face name screen x vectorp 8 0 face signal wrong-type-argument facep] 5 "\
- Retrieve the face of the given name.
- If NAME is a symbol and SCREEN is provided, the face is looked up on
- that screen; otherwise, the selected screen is used.
- If there is no such face, an error is signalled. See also `find-face'.
- If SCREEN is the symbol t, then the global, non-screen face is returned.
- If NAME is already a face, it is simply returned."])
- (fset 'face-name #[(face) "└ !┬Hç" [get-face face 1] 2 "\
- Returns the name of the given face."])
- (put 'face-name 'byte-optimizer 'byte-compile-inline-expand)
- (fset 'face-id #[(face) "└ !┬Hç" [get-face face 2] 2 "\
- Returns the internal ID number of the given face."])
- (put 'face-id 'byte-optimizer 'byte-compile-inline-expand)
- (fset 'face-font #[(face &optional screen) "└ \n\"├Hç" [get-face face screen 3] 3 "\
- Returns the font name of the given face, or nil if it is unspecified."])
- (put 'face-font 'byte-optimizer 'byte-compile-inline-expand)
- (fset 'face-foreground #[(face &optional screen) "└ \n\"├Hç" [get-face face screen 4] 3 "\
- Returns the foreground color name of the given face, or nil if unspecified."])
- (put 'face-foreground 'byte-optimizer 'byte-compile-inline-expand)
- (fset 'face-background #[(face &optional screen) "└ \n\"├Hç" [get-face face screen 5] 3 "\
- Returns the background color name of the given face, or nil if unspecified."])
- (put 'face-background 'byte-optimizer 'byte-compile-inline-expand)
- (fset 'face-background-pixmap #[(face &optional screen) "└ \n\"├Hç" [get-face face screen 6] 3 "\
- Returns the background pixmap name of the given face, or nil if unspecified."])
- (put 'face-background-pixmap 'byte-optimizer 'byte-compile-inline-expand)
- (fset 'face-underline-p #[(face &optional screen) "└ \n\"├Hç" [get-face face screen 7] 3 "\
- Returns whether the given face is underlined."])
- (byte-code "└┴┬├#ê─┼Mê╞╟Mê╚╔Mç" [put face-underline-p byte-optimizer byte-compile-inline-expand set-face-1 #[(face name value index screen) "└\n¼─├ ë½£┼╟!╚H) \n@%êAë¼d╟9½ä¬ï╟!╚H)└\"\nIê\n)¬ó\n└=¼ô╠╟!═H) \n\n$ê╟\n\"\nI)ç" [t inhibit-quit screen screen-list screens set-face-1 face get-face 1 name value index set-face-attribute-internal 2] 7] read-face-name #[(prompt) "└└G┬U½Ä├┼╞╟ \"└╚$ë¬m╔ !)ç" [nil face 0 completing-read prompt mapcar #[(x) "└ !Cç" [symbol-name x] 2] list-faces t intern] 6] face-interactive #[(what &optional bool) "└┴\nP!─\n┼Q╟╚P! ╩!¡ì ╦ \"«à╠╦ \"½Å╬╧╨ !╤╥░!¬ì╙╘╨ !╒R\" ╫Ü?¡é-Dç" [intern "face-" what fn "Set " " of face" prompt read-face-name ": " face fboundp selected-screen default bool y-or-n-p "Should face " symbol-name " be " "? " read-string " " " to: " value ""] 6]] 4)
- (fset 'set-face-font #[(face font &optional screen) "└ ┬\n├%ç" [set-face-1 face font 3 screen] 6 "\
- Change the font of the given face. The font should be a string, the name
- string, the name of the font. If the optional SCREEN argument is provided,
- this face will be changed only in that screen; otherwise it will be changed
- in all screens." (face-interactive "font")])
- (put 'set-face-font 'byte-optimizer 'byte-compile-inline-expand)
- (fset 'set-face-foreground #[(face color &optional screen) "└ ┬─%ç" [set-face-1 face foreground color 4 screen] 6 "\
- Change the foreground color of the given face. The color should be a
- string, the name of a color. If the optional SCREEN argument is provided,
- this face will be changed only in that screen; otherwise it will be changed
- in all screens." (face-interactive "foreground")])
- (put 'set-face-foreground 'byte-optimizer 'byte-compile-inline-expand)
- (fset 'set-face-background #[(face color &optional screen) "└ ┬─%ç" [set-face-1 face background color 5 screen] 6 "\
- Change the background color of the given face. The color should be a
- string, the name of a color. If the optional SCREEN argument is provided,
- this face will be changed only in that screen; otherwise it will be changed
- in all screens." (face-interactive "background")])
- (put 'set-face-background 'byte-optimizer 'byte-compile-inline-expand)
- (fset 'set-face-background-pixmap #[(face name &optional screen) "└ ┬─%ç" [set-face-1 face background-pixmap name 6 screen] 6 "\
- Change the background pixmap of the given face. The pixmap name should be
- a string, the name of a file of pixmap data. The directories listed in the
- x-bitmap-file-path variable will be searched. The bitmap may also 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.
- If the optional SCREEN argument is provided, this face will be changed only
- in that screen; otherwise it will be changed in all screens." (face-interactive "background-pixmap")])
- (put 'set-face-background-pixmap 'byte-optimizer 'byte-compile-inline-expand)
- (fset 'set-face-underline-p #[(face underline-p &optional screen) "└ ┬─%ç" [set-face-1 face underline underline-p 7 screen] 6 "\
- Change whether the given face is underlined.
- If the optional SCREEN argument is provided, this face will be changed only
- in that screen; otherwise it will be changed in all screens." (face-interactive "underline-p" "underlined")])
- (put 'set-face-underline-p 'byte-optimizer 'byte-compile-inline-expand)
- (fset 'make-face #[(name) "└┴┬\"ë─├Iê┼Iê╟ ╔\n═#êT½ö╬@\"╧IêAë¼l╨!ë╧IêBB+╙=½ä╘!ê)ç" [make-vector 8 nil face 0 1 name screen-list screens t inhibit-quit face-id-tick id make-face-internal get-face 2 copy-sequence global-face-data window-system x x-resource-face] 5 "\
- Defines and returns a new FACE on all screens.
- You can modify the font, color, etc of this face with the set-face- functions."])
- (fset 'copy-face #[(old-face new-name &optional screen) "└ \n\"├┼\n\"«ä╟!\n¼ú╔ ë\n½æ╦ \n@#ê\nAë\n¼o╦ ├#ê)é┌ \n└\n\"═H*\n╧╬═\n%ê+ \n└\n\"╨H*\n╧╥╨\n%ê+ \n└\n\"╙H*\n╧╘╙\n%ê+ \n└\n\"╒H*\n╧╫╒\n%ê+ \n└\n\"╪H*\n╧┌╪\n%ê+*ç" [get-face old-face screen t inhibit-quit find-face new-name make-face new-face screen-list screens copy-face face 3 font set-face-1 4 color foreground 5 background 6 name background-pixmap 7 underline-p underline] 7 "\
- Defines and returns a new face which is a copy of an existing one,
- or makes an already-existing face be exactly like another."])
- (fset 'set-extent-face #[(extent face) "└ \n├\n!─H)\"ç" [set-extent-attribute extent face get-face 2] 4 "\
- Make the given EXTENT have the graphic attributes specified by FACE."])
- (fset 'extent-face #[(extent) "└ ┬\"─ë╚U½â╔½á@A╩!╦H)U½ê@@─Aë¼`«â╠═!+ç" [extent-attributes extent t global-face-data nil face rest id -1 0 get-face 2 error "unknown face??"] 4 "\
- Returns the name of the face in which EXTENT is displayed."])
- (fset 'face-equal #[(face1 face2 &optional screen) "└ \n\"└\n\" \n└\n\"┼H*\n└\n\"┼H*Ü¡╔ \n└\n\"╞H*\n└\n\"╞H*Ü¡░ \n└\n\"╟H*\n└\n\"╟H*Ü¡ù \n└\n\"╚H*\n└\n\"╚H*Üç" [get-face face1 screen face2 face 4 5 3 6] 4 "\
- True if the given faces will display in the the same way."])
- (fset 'face-differs-from-default-p #[(face &optional screen) "└┴\n\"└\n\" \n└\n\"─H*\n└\n\"─H*ܼÅ\n└\n\"─H*?à╛ \n└\n\"┼H*\n└\n\"┼H*ܼÄ\n└\n\"┼H*?¡σ \n└\n\"╞H*\n└\n\"╞H*ܼÄ\n└\n\"╞H*?¡╛ \n└\n\"╟H*\n└\n\"╟H*ܼÄ\n└\n\"╟H*?¡ù \n└\n\"╚H*\n└\n\"╚H*Ü)?ç" [get-face default screen face 4 5 3 6 7] 4 "\
- True if the given face will display differently from the default face.
- A face is considered to be ``the same'' as the default face if it is
- actually specified in the same way (equivalent fonts, etc) or if it is
- fully unspecified, and thus will inherit the attributes of any face it
- is displayed on top of."])
- (fset 'invert-face #[(face &optional screen) "└ \n\"ë\n└ \n\"├H* \n└ \n\"─H*ë¼â½Ñ \n╚ ╔├\n%ê+ \n╚ ╩─\n%ê+¬╢ ╦\n└ \n\"─H*\n╚ ╔├\n%ê+ ╦\n└ \n\"├H*\n╚ ╩─\n%ê+* ç" [get-face face screen 4 5 bg fg color set-face-1 foreground background default] 7 "\
- Swap the foreground and background colors of the given face.
- If the face doesn't specify both foreground and background, then
- its foreground and background are set to the background and
- foreground of the default face." (byte-code "└┴!Cç" [read-face-name "Invert face: "] 2)])
- (fset 'try-face-font #[(face font &optional screen) "└┴┬Åç" [nil (byte-code " \n├┴ ─\n%+ç" [face font screen set-face-1 3] 6) ((error))] 3 "\
- Like set-face-font, but returns nil on failure instead of an error."])
- (fset 'set-default-font #[(font) "└ ┬┼┴ ╞%ê+╟ ┬┼┴ ╞%+ç" [default font nil screen face set-face-1 3 modeline] 6 "\
- Sets the font used for normal text and the modeline to FONT in all screens.
- For finer-grained control, use set-face-font." (byte-code "└┴┬├ ╞\"╟H*\"Cç" [read-string "Set default font: " default selected-screen screen face get-face 3] 5)])
- (byte-code "└┴Mê┬├!¼ÿ─├!ê─┼!ê─╞!ê─╟!ê─╚!ê─╔!ê└ç" [make-screen-initial-faces #[nil "└ !├ \n╞╞╔\n\"ê½¥@╩@A!íê╠=½ê═@A╬#êAë¼c╧╟\"╧╚\"╠=½ä╨!ê╤\"¼┬╧\"╙H*╒╓╫%ê+╧\"╫H*╒╪╙%ê+╧\"┘H*¼▒╧\"┘H*½í╧\"┘H*╒┌┘%ê+╧\"╙H*¼▒╧\"╙H*½í╧\"╙H*╒╪╙%ê+╧\"╫H*?¡░╧\"╫H*¡á╧\"╫H*╒╓╫%+-ç" [copy-alist global-face-data faces selected-screen screen rest nil default modeline set-screen-face-alist copy-sequence window-system x x-resource-face t get-face x-initialize-screen-faces face-differs-from-default-p face 5 color set-face-1 foreground 4 background 3 font] 7] find-face default make-face modeline highlight bold italic bold-italic] 2)
-