diff options
author | Boris Goldowsky <boris@gnu.org> | 1994-10-20 18:11:27 +0000 |
---|---|---|
committer | Boris Goldowsky <boris@gnu.org> | 1994-10-20 18:11:27 +0000 |
commit | 33af44e8448e9c6f0de668ed5251c483d3cf9ca0 (patch) | |
tree | a94b094409efcc23113d2f1b1093bc97ab022bbc /lisp/faces.el | |
parent | 25b469073399f28ff15289f8e304c9bdfa91865b (diff) | |
download | emacs-33af44e8448e9c6f0de668ed5251c483d3cf9ca0.tar.gz |
(make-face): Add new face to Face menu on creation. -- Bng
Diffstat (limited to 'lisp/faces.el')
-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." ;; when making a face after frames already exist (if (eq window-system 'x) (make-face-x-resource-internal face)) + ;; add to menu + (if (fboundp 'facemenu-add-new-face) + (facemenu-add-new-face name)) face)) name) |