diff lisp/international/mule.el @ 52799:482664d12a27

(autoload-coding-system): Add SYMBOL to coding-system-alist.
author Kenichi Handa <handa@m17n.org>
date Tue, 07 Oct 2003 07:33:22 +0000
parents 2e3d2f94a2ba
children 810931aa5f2d
line wrap: on
line diff
--- a/lisp/international/mule.el	Tue Oct 07 06:46:04 2003 +0000
+++ b/lisp/international/mule.el	Tue Oct 07 07:33:22 2003 +0000
@@ -1123,7 +1123,9 @@
   "Define SYMBOL as a coding-system that is defined on demand.
 
 FROM is a form to evaluate to define the coding-system."
-  (put symbol 'coding-system-define-form form))
+  (put symbol 'coding-system-define-form form)
+  (setq coding-system-alist (cons (list (symbol-name symbol))
+				  coding-system-alist)))
 
 (defun set-buffer-file-coding-system (coding-system &optional force)
   "Set the file coding-system of the current buffer to CODING-SYSTEM.