]> git.eshelyaron.com Git - emacs.git/commitdiff
(autoload-coding-system): New function.
authorKenichi Handa <handa@m17n.org>
Tue, 7 Oct 2003 01:29:35 +0000 (01:29 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 7 Oct 2003 01:29:35 +0000 (01:29 +0000)
lisp/international/mule.el

index a82ead3999a92489ef1b02d8e51ad75d48f3b066..1ccd26db6c1395151da7d05d57f1354fe72d851e 100644 (file)
@@ -1119,6 +1119,12 @@ Return the resulting coding system."
                     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