projects
/
elisp
/
apel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2baa53
)
(write-region-as-mime-charset): New function.
author
morioka
<morioka>
Thu, 14 May 1998 07:03:51 +0000
(07:03 +0000)
committer
morioka
<morioka>
Thu, 14 May 1998 07:03:51 +0000
(07:03 +0000)
emu-nemacs.el
patch
|
blob
|
history
diff --git
a/emu-nemacs.el
b/emu-nemacs.el
index
d5a3b4d
..
a130f11
100644
(file)
--- a/
emu-nemacs.el
+++ b/
emu-nemacs.el
@@
-312,6
+312,15
@@
find-file-hooks, etc.
(convert-string-kanji-code string cs 3)
string)))
+(defun write-region-as-mime-charset (charset start end filename)
+ "Like `write-region', q.v., but code-convert by MIME CHARSET.
+\[emu-nemacs.el]"
+ (let ((kanji-fileio-code
+ (or (mime-charset-to-coding-system charset)
+ *noconv*)))
+ (write-region start end filename)
+ ))
+
;;; @ character
;;;