diff lisp/frame.el @ 2527:491f8cf78a9c

[xemacs-hg @ 2005-01-28 02:58:38 by ben] Abstract font-list/color-list font-menu.el, font.el, frame.el, gtk-font-menu.el, minibuf.el, msw-faces.el, msw-font-menu.el, obsolete.el, x-faces.el, x-font-menu.el: list-fonts->font-list. Create color-list. Abstract out x/msw-specific versions and obsolete the x/msw-specific Lisp functions. console-impl.h, objects-gtk.c, objects-msw.c, objects-tty.c, objects-x.c, objects.c: list-fonts->font-list. Create color-list. Abstract out x/msw-specific versions and obsolete the x/msw-specific Lisp functions.
author ben
date Fri, 28 Jan 2005 02:58:52 +0000
parents 6a9afa282c8e
children fd1acd2f457a
line wrap: on
line diff
--- a/lisp/frame.el	Fri Jan 28 02:36:28 2005 +0000
+++ b/lisp/frame.el	Fri Jan 28 02:58:52 2005 +0000
@@ -994,7 +994,7 @@
 	  (completion-ignore-case t)
 	  (font (completing-read "Font name: "
 			 (mapcar #'list
-				 (list-fonts "*" frame))
+				 (font-list "*" frame))
 			 nil nil nil nil
 			 (face-font-name 'default frame))))
      (list font current-prefix-arg)))