diff options
| author | Richard M. Stallman | 1997-08-09 20:09:16 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-08-09 20:09:16 +0000 |
| commit | 971e48caaa1cd015404d441f62152c6c82cfd185 (patch) | |
| tree | 6b9729dd292993f6313ee6f10ea8052fbff4a2eb | |
| parent | 33eae9c01beae82329e02d7745fab1e485dd0144 (diff) | |
| download | emacs-971e48caaa1cd015404d441f62152c6c82cfd185.tar.gz emacs-971e48caaa1cd015404d441f62152c6c82cfd185.zip | |
(custom-declare-face): Call make-face-x-resource-internal.
| -rw-r--r-- | lisp/cus-face.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/cus-face.el b/lisp/cus-face.el index bd120299a16..de51b6a2973 100644 --- a/lisp/cus-face.el +++ b/lisp/cus-face.el | |||
| @@ -53,7 +53,10 @@ | |||
| 53 | (while frames | 53 | (while frames |
| 54 | (setq frame (car frames) | 54 | (setq frame (car frames) |
| 55 | frames (cdr frames)) | 55 | frames (cdr frames)) |
| 56 | (face-spec-set face value frame))))) | 56 | (face-spec-set face value frame))) |
| 57 | ;; When making a face after frames already exist | ||
| 58 | (if (memq window-system '(x w32)) | ||
| 59 | (make-face-x-resource-internal face)))) | ||
| 57 | (when (and doc (null (face-documentation face))) | 60 | (when (and doc (null (face-documentation face))) |
| 58 | (set-face-documentation face doc)) | 61 | (set-face-documentation face doc)) |
| 59 | (custom-handle-all-keywords face args 'custom-face) | 62 | (custom-handle-all-keywords face args 'custom-face) |