emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `char-displayable-p'


From: Miles Bader
Subject: Re: `char-displayable-p'
Date: 26 Mar 2001 14:43:27 +0900

By the way, I had to make the following change to
`latin1-char-displayable-p' to make it work for me in X.  Does this look
reasonable to you?


2001-03-26  Miles Bader  <address@hidden>

        * international/latin1-disp.el (latin1-char-displayable-p): Add
        leading "-" for X font pattern.

--- latin1-disp.el.~1.8.~       Tue Feb 13 10:34:14 2001
+++ latin1-disp.el      Mon Mar 26 14:26:17 2001
@@ -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 <address@hidden>
 ;; 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)))))


-Miles
-- 
Love is a snowmobile racing across the tundra.  Suddenly it flips over,
pinning you underneath.  At night the ice weasels come.  --Nietzsche



reply via email to

[Prev in Thread] Current Thread [Next in Thread]