diff options
| author | Stefan Monnier | 2001-12-16 05:37:10 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-12-16 05:37:10 +0000 |
| commit | d3980715eef8218da9178e6791f3b619958445f3 (patch) | |
| tree | 75df5c9ca14bbd9b058083c6cb0fe82f27c0563b | |
| parent | da490c954ed55117b71f673e857d48bc42e92ef2 (diff) | |
| download | emacs-d3980715eef8218da9178e6791f3b619958445f3.tar.gz emacs-d3980715eef8218da9178e6791f3b619958445f3.zip | |
Build the list L at compile time.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/international/fontset.el | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2f1e33f4b28..612a7ea5009 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2001-12-16 Stefan Monnier <monnier@cs.yale.edu> | 1 | 2001-12-16 Stefan Monnier <monnier@cs.yale.edu> |
| 2 | 2 | ||
| 3 | * international/fontset.el: Build the list L at compile time. | ||
| 4 | |||
| 3 | * language/ind-util.el (mapthread): Make a closure. | 5 | * language/ind-util.el (mapthread): Make a closure. |
| 4 | 6 | ||
| 5 | 2001-12-15 Richard M. Stallman <rms@gnu.org> | 7 | 2001-12-15 Richard M. Stallman <rms@gnu.org> |
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index bf95f60cd23..9ea6e8d3f8e 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el | |||
| @@ -40,7 +40,11 @@ | |||
| 40 | ;; character `*' is embedded in `CHARSET_ENCODING' field. The | 40 | ;; character `*' is embedded in `CHARSET_ENCODING' field. The |
| 41 | ;; REGISTRY for ASCII characters are predefined as "ISO8859-1". | 41 | ;; REGISTRY for ASCII characters are predefined as "ISO8859-1". |
| 42 | 42 | ||
| 43 | (let ((l `((latin-iso8859-1 . (nil . "ISO8859-1")) | 43 | (let ((l |
| 44 | ;; Eval this at compile-time, since fontset.el is always loaded | ||
| 45 | ;; when run under X and this would always load ind-util.el as well. | ||
| 46 | (eval-when-compile | ||
| 47 | `((latin-iso8859-1 . (nil . "ISO8859-1")) | ||
| 44 | (latin-iso8859-2 . (nil . "ISO8859-2")) | 48 | (latin-iso8859-2 . (nil . "ISO8859-2")) |
| 45 | (latin-iso8859-3 . (nil . "ISO8859-3")) | 49 | (latin-iso8859-3 . (nil . "ISO8859-3")) |
| 46 | (latin-iso8859-4 . (nil . "ISO8859-4")) | 50 | (latin-iso8859-4 . (nil . "ISO8859-4")) |
| @@ -114,7 +118,7 @@ | |||
| 114 | . ,(indian-glyph-char 255 'kannada)) . ("*" . "Kannada-CDAC")) | 118 | . ,(indian-glyph-char 255 'kannada)) . ("*" . "Kannada-CDAC")) |
| 115 | ((,(indian-glyph-char 0 'malayalam) | 119 | ((,(indian-glyph-char 0 'malayalam) |
| 116 | . ,(indian-glyph-char 255 'malayalam)) . ("*" . "Malayalam-CDAC")) | 120 | . ,(indian-glyph-char 255 'malayalam)) . ("*" . "Malayalam-CDAC")) |
| 117 | )) | 121 | ))) |
| 118 | charset font-spec arg) | 122 | charset font-spec arg) |
| 119 | (while l | 123 | (while l |
| 120 | (setq charset (car (car l)) font-spec (cdr (car l)) l (cdr l)) | 124 | (setq charset (car (car l)) font-spec (cdr (car l)) l (cdr l)) |