aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2000-07-10 04:03:01 +0000
committerKenichi Handa2000-07-10 04:03:01 +0000
commit3e8017d240bfbc355d6037bcc513879be0dbc689 (patch)
tree70060447a4f9eae05bb6a8d0576c890cb6014798
parentab49ce154cb8a3b815898201b50c07fbb111c723 (diff)
downloademacs-3e8017d240bfbc355d6037bcc513879be0dbc689.tar.gz
emacs-3e8017d240bfbc355d6037bcc513879be0dbc689.zip
(describe-font): Adjusted for the chnage of fontset-info.
(print-fontset): Likewise.
-rw-r--r--lisp/international/mule-diag.el4
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")