Mercurial > hg > xemacs-beta
diff lisp/x-font-menu.el @ 4103:b4f4e0cc90f1
[xemacs-hg @ 2007-08-07 23:08:47 by aidan]
Eliminate byte compiler warnings, give nicer errors in the absence of packages.
author | aidan |
---|---|
date | Tue, 07 Aug 2007 23:09:22 +0000 |
parents | b8ded6c3f2a4 |
children | e29fcfd8df5f |
line wrap: on
line diff
--- a/lisp/x-font-menu.el Tue Aug 07 21:51:12 2007 +0000 +++ b/lisp/x-font-menu.el Tue Aug 07 23:09:22 2007 +0000 @@ -42,8 +42,28 @@ x-font-regexp-foundry-and-family x-font-regexp-spacing)) -(globally-declare-fboundp - '(charset-registries)) +(globally-declare-boundp + '(charset-registries + fc-find-available-font-families + fc-find-available-weights-for-family + fc-font-match + fc-font-slant-translate-from-string + fc-font-slant-translate-to-string + fc-font-weight-translate-from-string + fc-font-weight-translate-to-string + fc-name-parse + fc-name-unparse + fc-pattern-add-family + fc-pattern-add-size + fc-pattern-add-slant + fc-pattern-add-weight + fc-pattern-get-family + fc-pattern-get-size + fc-pattern-get-slant + fc-pattern-get-successp + fc-pattern-get-weight + make-fc-pattern + xlfd-font-name-p)) (defvar x-font-menu-registry-encoding nil "Registry and encoding to use with font menu fonts.")