Mercurial > emacs
comparison lisp/faces.el @ 101054:e2baf04d1abe
(x-font-family-list): Remove entirely.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 10 Jan 2009 12:55:24 +0000 |
parents | 18e1be1514e1 |
children | 311f898c790b |
comparison
equal
deleted
inserted
replaced
101053:3301b8512c40 | 101054:e2baf04d1abe |
---|---|
2679 If that can't be done, return nil." | 2679 If that can't be done, return nil." |
2680 (and (setq font (internal-frob-font-weight font "bold")) | 2680 (and (setq font (internal-frob-font-weight font "bold")) |
2681 (internal-frob-font-slant font "i"))) | 2681 (internal-frob-font-slant font "i"))) |
2682 (make-obsolete 'x-make-font-bold-italic 'make-face-bold-italic "21.1") | 2682 (make-obsolete 'x-make-font-bold-italic 'make-face-bold-italic "21.1") |
2683 | 2683 |
2684 (defun x-font-family-list (&optional frame) | |
2685 "Return a list of available font families on FRAME. | |
2686 If FRAME is omitted or nil, use the selected frame. | |
2687 Value is a list of conses (FAMILY . FIXED-P) where FAMILY | |
2688 is a font family, and FIXED-P is non-nil if fonts of that family | |
2689 are fixed-pitch." | |
2690 (if (fboundp 'font-family-list) | |
2691 (mapcar (lambda (family) (cons family nil)) | |
2692 (font-family-list)) | |
2693 '(("default" . t)))) | |
2694 (make-obsolete 'x-font-family-list 'font-family-list "23.1") | |
2695 | |
2696 (provide 'faces) | 2684 (provide 'faces) |
2697 | 2685 |
2698 ;; arch-tag: 19a4759f-2963-445f-b004-425b9aadd7d6 | 2686 ;; arch-tag: 19a4759f-2963-445f-b004-425b9aadd7d6 |
2699 ;;; faces.el ends here | 2687 ;;; faces.el ends here |