changeset 22885:5effd15f2a18

(describe-current-coding-system): Check if each coding category is bound to a valid coding system.
author Kenichi Handa <handa@m17n.org>
date Sun, 02 Aug 1998 01:06:57 +0000
parents e7a1b839f16c
children 33a84416a33f
files lisp/international/mule-diag.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-diag.el	Sun Aug 02 01:06:57 1998 +0000
+++ b/lisp/international/mule-diag.el	Sun Aug 02 01:06:57 1998 +0000
@@ -336,7 +336,7 @@
 	(while l
 	  (setq coding (symbol-value (car l)))
 	  ;; Do not list up the same coding system twice.
-	  (when (not (memq coding coding-list))
+	  (when (and coding (not (memq coding coding-list)))
 	    (setq coding-list (cons coding coding-list))
 	    (princ (format "  %d. %s " i coding))
 	    (setq aliases (coding-system-get coding 'alias-coding-systems))