diff options
| author | Miles Bader | 2001-03-26 07:20:09 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-03-26 07:20:09 +0000 |
| commit | a0d59316c88d535e369a3e253eca1b5ae6bfe3f0 (patch) | |
| tree | 255e2be7ffb450bfac6f4f78535c540e3e859f01 | |
| parent | 97b14492efbf9338f24e1747d194b379afde9fcb (diff) | |
| download | emacs-a0d59316c88d535e369a3e253eca1b5ae6bfe3f0.tar.gz emacs-a0d59316c88d535e369a3e253eca1b5ae6bfe3f0.zip | |
(latin1-char-displayable-p): Add leading "-" for X font pattern.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/international/latin1-disp.el | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index afba62e8bd3..7730044ade2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-03-26 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * international/latin1-disp.el (latin1-char-displayable-p): Add | ||
| 4 | leading "-" for X font pattern. | ||
| 5 | |||
| 1 | 2001-03-26 Kenichi Handa <handa@etl.go.jp> | 6 | 2001-03-26 Kenichi Handa <handa@etl.go.jp> |
| 2 | 7 | ||
| 3 | * international/mule-diag.el (describe-coding-system): For | 8 | * 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 @@ | |||
| 1 | ;;; latin1-disp.el --- display tables for other ISO 8859 on Latin-1 terminals -*- coding: emacs-mule -*- | 1 | ;;; latin1-disp.el --- display tables for other ISO 8859 on Latin-1 terminals -*- coding: emacs-mule -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2000 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2000, 2001 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Dave Love <fx@gnu.org> | 5 | ;; Author: Dave Love <fx@gnu.org> |
| 6 | ;; Keywords: i18n | 6 | ;; Keywords: i18n |
| @@ -181,7 +181,8 @@ character set: `latin-2', `hebrew' etc." | |||
| 181 | ;; Now FONT-PATTERN is a string or a cons of family | 181 | ;; Now FONT-PATTERN is a string or a cons of family |
| 182 | ;; field pattern and registry field pattern. | 182 | ;; field pattern and registry field pattern. |
| 183 | (or (stringp font-pattern) | 183 | (or (stringp font-pattern) |
| 184 | (setq font-pattern (concat (or (car font-pattern) "*") | 184 | (setq font-pattern (concat "-" |
| 185 | (or (car font-pattern) "*") | ||
| 185 | "-*-" | 186 | "-*-" |
| 186 | (cdr font-pattern)))) | 187 | (cdr font-pattern)))) |
| 187 | (x-list-fonts font-pattern 'default (selected-frame) 1))))) | 188 | (x-list-fonts font-pattern 'default (selected-frame) 1))))) |