diff options
| -rw-r--r-- | lisp/international/mule-diag.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index 431efedb9fc..33cb9fee136 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el | |||
| @@ -1023,7 +1023,7 @@ but still contains full information about each coding system." | |||
| 1023 | (setq fontname (cdr (assq 'font (frame-parameters)))) | 1023 | (setq fontname (cdr (assq 'font (frame-parameters)))) |
| 1024 | (if (query-fontset fontname) | 1024 | (if (query-fontset fontname) |
| 1025 | (setq fontname | 1025 | (setq fontname |
| 1026 | (nth 1 (assq 'ascii (fontset-info fontname)))))) | 1026 | (nth 1 (assq 'ascii (aref (fontset-info fontname) 2)))))) |
| 1027 | (let ((font-info (font-info fontname))) | 1027 | (let ((font-info (font-info fontname))) |
| 1028 | (if (null font-info) | 1028 | (if (null font-info) |
| 1029 | (message "No matching font") | 1029 | (message "No matching font") |
| @@ -1034,7 +1034,7 @@ but still contains full information about each coding system." | |||
| 1034 | ;; non-nil, print also names of all opened fonts for FONTSET. This | 1034 | ;; non-nil, print also names of all opened fonts for FONTSET. This |
| 1035 | ;; function actually INSERT such information in the current buffer. | 1035 | ;; function actually INSERT such information in the current buffer. |
| 1036 | (defun print-fontset (fontset &optional print-fonts) | 1036 | (defun print-fontset (fontset &optional print-fonts) |
| 1037 | (let ((tail (cdr (fontset-info fontset))) | 1037 | (let ((tail (aref (fontset-info fontset) 2)) |
| 1038 | elt chars font-spec opened prev-charset charset from to) | 1038 | elt chars font-spec opened prev-charset charset from to) |
| 1039 | (beginning-of-line) | 1039 | (beginning-of-line) |
| 1040 | (insert "Fontset: " fontset "\n") | 1040 | (insert "Fontset: " fontset "\n") |