changeset 47709:1fcba19c7ae3

(describe-coding-system): Describe `dependency' property..
author Kenichi Handa <handa@m17n.org>
date Mon, 30 Sep 2002 06:40:01 +0000
parents b9d7faa08e87
children 6025c7c2fa78
files lisp/international/mule-diag.el
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-diag.el	Mon Sep 30 06:39:07 2002 +0000
+++ b/lisp/international/mule-diag.el	Mon Sep 30 06:40:01 2002 +0000
@@ -618,6 +618,16 @@
     (with-output-to-temp-buffer (help-buffer)
       (print-coding-system-briefly coding-system 'doc-string)
       (princ "\n")
+      (let ((vars (coding-system-get coding-system 'dependency)))
+	(when vars
+	  (princ "See also the documentation of these customizable variables
+which alter the behaviour of this coding system.\n")
+	  (dolist (v vars)
+	    (princ "  `")
+	    (princ v)
+	    (princ "'\n"))
+	  (princ "\n")))
+
       (princ "Type: ")
       (let ((type (coding-system-type coding-system))
 	    (flags (coding-system-flags coding-system)))