aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKenichi Handa2003-10-07 01:29:35 +0000
committerKenichi Handa2003-10-07 01:29:35 +0000
commit2b96ab33e69abf5319d831e9db3435878b86369d (patch)
tree5ec4c15585c60544529b3b03966ebf634ed24c10 /lisp
parenta362520d437614d9c4937d6f89c0b0997f00cf90 (diff)
downloademacs-2b96ab33e69abf5319d831e9db3435878b86369d.tar.gz
emacs-2b96ab33e69abf5319d831e9db3435878b86369d.zip
(autoload-coding-system): New function.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/international/mule.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index a82ead3999a..1ccd26db6c1 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -1119,6 +1119,12 @@ Return the resulting coding system."
1119 first eol))) 1119 first eol)))
1120 first)) 1120 first))
1121 1121
1122(defun autoload-coding-system (symbol form)
1123 "Define SYMBOL as a coding-system that is defined on demand.
1124
1125FROM is a form to evaluate to define the coding-system."
1126 (put symbol 'coding-system-define-form form))
1127
1122(defun set-buffer-file-coding-system (coding-system &optional force) 1128(defun set-buffer-file-coding-system (coding-system &optional force)
1123 "Set the file coding-system of the current buffer to CODING-SYSTEM. 1129 "Set the file coding-system of the current buffer to CODING-SYSTEM.
1124This means that when you save the buffer, it will be converted 1130This means that when you save the buffer, it will be converted