aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-06-17 22:07:26 +0000
committerRichard M. Stallman1993-06-17 22:07:26 +0000
commitf0b9055ffa8ef79c09ca1541c8c71d8ad8333f40 (patch)
treefab528d25e435c9779367b98ca00a2d99d0b0e29
parent582080c149704368c2ed6d64b6ee2df11cc76f61 (diff)
downloademacs-f0b9055ffa8ef79c09ca1541c8c71d8ad8333f40.tar.gz
emacs-f0b9055ffa8ef79c09ca1541c8c71d8ad8333f40.zip
(set-face-background-pixmap, face-background-pixmap): Functions commented out.
-rw-r--r--lisp/faces.el32
1 files changed, 16 insertions, 16 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 0ef47807b97..3139d9da553 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -65,11 +65,11 @@ If the optional argument FRAME is given, report on face FACE in that frame.
65Otherwise report on the defaults for face FACE (for new frames)." 65Otherwise report on the defaults for face FACE (for new frames)."
66 (aref (internal-get-face face frame) 5)) 66 (aref (internal-get-face face frame) 5))
67 67
68(defsubst face-background-pixmap (face &optional frame) 68;;(defsubst face-background-pixmap (face &optional frame)
69 "Return the background pixmap name of face FACE, or nil if unspecified. 69;; "Return the background pixmap name of face FACE, or nil if unspecified.
70If the optional argument FRAME is given, report on face FACE in that frame. 70;;If the optional argument FRAME is given, report on face FACE in that frame.
71Otherwise report on the defaults for face FACE (for new frames)." 71;;Otherwise report on the defaults for face FACE (for new frames)."
72 (aref (internal-get-face face frame) 6)) 72;; (aref (internal-get-face face frame) 6))
73 73
74(defsubst face-underline-p (face &optional frame) 74(defsubst face-underline-p (face &optional frame)
75 "Return t if face FACE is underlined. 75 "Return t if face FACE is underlined.
@@ -102,19 +102,19 @@ in that frame; otherwise change each frame."
102 (interactive (internal-face-interactive "background")) 102 (interactive (internal-face-interactive "background"))
103 (internal-set-face-1 face 'background color 5 frame)) 103 (internal-set-face-1 face 'background color 5 frame))
104 104
105(defsubst set-face-background-pixmap (face name &optional frame) 105;;(defsubst set-face-background-pixmap (face name &optional frame)
106 "Change the background pixmap of face FACE to PIXMAP. 106;; "Change the background pixmap of face FACE to PIXMAP.
107PIXMAP should be a string, the name of a file of pixmap data. 107;;PIXMAP should be a string, the name of a file of pixmap data.
108The directories listed in the `x-bitmap-file-path' variable are searched. 108;;The directories listed in the `x-bitmap-file-path' variable are searched.
109 109
110Alternatively, PIXMAP may be a list of the form (WIDTH HEIGHT DATA) 110;;Alternatively, PIXMAP may be a list of the form (WIDTH HEIGHT DATA)
111where WIDTH and HEIGHT are the size in pixels, 111;;where WIDTH and HEIGHT are the size in pixels,
112and DATA is a string, containing the raw bits of the bitmap. 112;;and DATA is a string, containing the raw bits of the bitmap.
113 113
114If the optional FRAME argument is provided, change only 114;;If the optional FRAME argument is provided, change only
115in that frame; otherwise change each frame." 115;;in that frame; otherwise change each frame."
116 (interactive (internal-face-interactive "background-pixmap")) 116;; (interactive (internal-face-interactive "background-pixmap"))
117 (internal-set-face-1 face 'background-pixmap name 6 frame)) 117;; (internal-set-face-1 face 'background-pixmap name 6 frame))
118 118
119(defsubst set-face-underline-p (face underline-p &optional frame) 119(defsubst set-face-underline-p (face underline-p &optional frame)
120 "Specify whether face FACE is underlined. (Yes if UNDERLINE-P is non-nil.) 120 "Specify whether face FACE is underlined. (Yes if UNDERLINE-P is non-nil.)