From: Miles Bader Date: Mon, 26 Mar 2001 07:20:09 +0000 (+0000) Subject: (latin1-char-displayable-p): Add leading "-" for X font pattern. X-Git-Tag: emacs-pretest-21.0.101~170 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a0d59316c88d535e369a3e253eca1b5ae6bfe3f0;p=emacs.git (latin1-char-displayable-p): Add leading "-" for X font pattern. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index afba62e8bd3..7730044ade2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2001-03-26 Miles Bader + + * international/latin1-disp.el (latin1-char-displayable-p): Add + leading "-" for X font pattern. + 2001-03-26 Kenichi Handa * international/mule-diag.el (describe-coding-system): For diff --git a/lisp/international/latin1-disp.el b/lisp/international/latin1-disp.el index 49678cc9518..7c2abed603a 100644 --- a/lisp/international/latin1-disp.el +++ b/lisp/international/latin1-disp.el @@ -1,6 +1,6 @@ ;;; latin1-disp.el --- display tables for other ISO 8859 on Latin-1 terminals -*- coding: emacs-mule -*- -;; Copyright (C) 2000 Free Software Foundation, Inc. +;; Copyright (C) 2000, 2001 Free Software Foundation, Inc. ;; Author: Dave Love ;; Keywords: i18n @@ -181,7 +181,8 @@ character set: `latin-2', `hebrew' etc." ;; Now FONT-PATTERN is a string or a cons of family ;; field pattern and registry field pattern. (or (stringp font-pattern) - (setq font-pattern (concat (or (car font-pattern) "*") + (setq font-pattern (concat "-" + (or (car font-pattern) "*") "-*-" (cdr font-pattern)))) (x-list-fonts font-pattern 'default (selected-frame) 1)))))