# HG changeset patch # User Richard M. Stallman # Date 841529010 0 # Node ID c8cbde1d3f11535c0219540bdf301592265727f0 # Parent 36d2c4a8e064ad120845243b46fa4fbc87da1f34 (internal-set-face-1): When calling x-list-fonts, ask for just one match. diff -r 36d2c4a8e064 -r c8cbde1d3f11 lisp/faces.el --- a/lisp/faces.el Sat Aug 31 21:53:53 1996 +0000 +++ b/lisp/faces.el Sat Aug 31 22:03:30 1996 +0000 @@ -675,7 +675,7 @@ (setq frame nil)) (if pattern ;; Note that x-list-fonts has code to handle a face with nil as its font. - (let ((fonts (x-list-fonts pattern face frame))) + (let ((fonts (x-list-fonts pattern face frame 1))) (or fonts (if face (if (string-match "\\*" pattern)