changeset 52795:2e3d2f94a2ba

(autoload-coding-system): New function.
author Kenichi Handa <handa@m17n.org>
date Tue, 07 Oct 2003 01:29:35 +0000
parents f4d906e31662
children af41ec2032d0
files lisp/international/mule.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule.el	Tue Oct 07 01:29:12 2003 +0000
+++ b/lisp/international/mule.el	Tue Oct 07 01:29:35 2003 +0000
@@ -1119,6 +1119,12 @@
 		     first eol)))
     first))
 
+(defun autoload-coding-system (symbol form)
+  "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))
+
 (defun set-buffer-file-coding-system (coding-system &optional force)
   "Set the file coding-system of the current buffer to CODING-SYSTEM.
 This means that when you save the buffer, it will be converted