diff options
| author | Boris Goldowsky | 1994-10-20 18:11:27 +0000 |
|---|---|---|
| committer | Boris Goldowsky | 1994-10-20 18:11:27 +0000 |
| commit | 33af44e8448e9c6f0de668ed5251c483d3cf9ca0 (patch) | |
| tree | a94b094409efcc23113d2f1b1093bc97ab022bbc | |
| parent | 25b469073399f28ff15289f8e304c9bdfa91865b (diff) | |
| download | emacs-33af44e8448e9c6f0de668ed5251c483d3cf9ca0.tar.gz emacs-33af44e8448e9c6f0de668ed5251c483d3cf9ca0.zip | |
(make-face): Add new face to Face menu on creation. -- Bng
| -rw-r--r-- | lisp/faces.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index 56fce6ffc70..e6e56f55647 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -273,6 +273,9 @@ If the face already exists, it is unmodified." | |||
| 273 | ;; when making a face after frames already exist | 273 | ;; when making a face after frames already exist |
| 274 | (if (eq window-system 'x) | 274 | (if (eq window-system 'x) |
| 275 | (make-face-x-resource-internal face)) | 275 | (make-face-x-resource-internal face)) |
| 276 | ;; add to menu | ||
| 277 | (if (fboundp 'facemenu-add-new-face) | ||
| 278 | (facemenu-add-new-face name)) | ||
| 276 | face)) | 279 | face)) |
| 277 | name) | 280 | name) |
| 278 | 281 | ||