diff options
| author | Kenichi Handa | 2008-09-01 07:17:23 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-09-01 07:17:23 +0000 |
| commit | 73650060a461bc49395adf55d8e93be7dee76a70 (patch) | |
| tree | 2c95d7dbf9ca18185a3976d2bce0e2747adeebce | |
| parent | e9aaa1db6929d42722050378cf6a941888bd5f4d (diff) | |
| download | emacs-73650060a461bc49395adf55d8e93be7dee76a70.tar.gz emacs-73650060a461bc49395adf55d8e93be7dee76a70.zip | |
(font-show-log): Fix previous change.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/international/mule-diag.el | 11 |
2 files changed, 14 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bbb9268b7bd..b262890f0e9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2008-09-01 Kenichi Handa <handa@m17n.org> | 1 | 2008-09-01 Kenichi Handa <handa@m17n.org> |
| 2 | 2 | ||
| 3 | * international/mule-diag.el (font-show-log): Fix previous change. | ||
| 4 | |||
| 5 | * international/mule-cmds.el (set-language-environment): Don't | ||
| 6 | overwrite current-iso639-language if the current language | ||
| 7 | environment doesn't provide that data. | ||
| 8 | (set-locale-environment): Set current-iso639-language from the | ||
| 9 | locale name. | ||
| 10 | |||
| 3 | * international/fontset.el (script-representative-chars): Re-add | 11 | * international/fontset.el (script-representative-chars): Re-add |
| 4 | the entry for symbol, but with vector of characters. | 12 | the entry for symbol, but with vector of characters. |
| 5 | (setup-default-fontset): Cancel previous change. | 13 | (setup-default-fontset): Cancel previous change. |
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index 720201b4f1b..b104cefa3ac 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el | |||
| @@ -1299,11 +1299,12 @@ character)") | |||
| 1299 | (nth 13 fields) 16))))))))))) | 1299 | (nth 13 fields) 16))))))))))) |
| 1300 | 1300 | ||
| 1301 | ;;;###autoload | 1301 | ;;;###autoload |
| 1302 | (defun font-show-log (&optional n) | 1302 | (defun font-show-log (&optional limit) |
| 1303 | "Show log of font listing and opening. | 1303 | "Show log of font listing and opening. |
| 1304 | Prefix arg N says how many fonts to show for each listing. | 1304 | Prefix arg LIMIT says how many fonts to show for each listing. |
| 1305 | The default is 20. If N is negative, do not limit the listing." | 1305 | The default is 20. If LIMIT is negative, do not limit the listing." |
| 1306 | (interactive "p") | 1306 | (interactive "P") |
| 1307 | (setq limit (if limit (prefix-numeric-value limit) 20)) | ||
| 1307 | (if (eq font-log t) | 1308 | (if (eq font-log t) |
| 1308 | (message "Font logging is currently suppressed") | 1309 | (message "Font logging is currently suppressed") |
| 1309 | (with-output-to-temp-buffer "*Help*" | 1310 | (with-output-to-temp-buffer "*Help*" |
| @@ -1316,7 +1317,7 @@ The default is 20. If N is negative, do not limit the listing." | |||
| 1316 | (catch 'tag | 1317 | (catch 'tag |
| 1317 | (mapc #'(lambda (x) | 1318 | (mapc #'(lambda (x) |
| 1318 | (setq i (1+ i)) | 1319 | (setq i (1+ i)) |
| 1319 | (when (= i n) | 1320 | (when (= i limit) |
| 1320 | (insert " ...\n") | 1321 | (insert " ...\n") |
| 1321 | (throw 'tag nil)) | 1322 | (throw 'tag nil)) |
| 1322 | (insert (format " %s\n" x))) | 1323 | (insert (format " %s\n" x))) |