[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mm-util.el question
From: |
Miles Bader |
Subject: |
mm-util.el question |
Date: |
Mon, 11 Apr 2005 19:12:40 -0400 |
In merging some of Stefan's Gnus changes from the Emacs tree into the Gnus
trunk, I ran across this change, which I'm not sure about, in mm-util.el:
@@ -75,4 +93,5 @@
(string-as-multibyte . identity)
+ (string-to-multibyte . mm-string-as-multibyte)
(multibyte-string-p . ignore)
;; It is not a MIME function, but some MIME functions use it.
(make-temp-file . (lambda (prefix &optional dir-flag)
The Gnus trunk already has an entry for `string-to-multibyte':
(string-to-multibyte
. (lambda (string)
"Return a multibyte string with the same individual chars as string."
(mapconcat
(lambda (ch) (mm-string-as-multibyte (char-to-string ch)))
string "")))
So is the more complicated Gnus version necessary, or would Stefan's version
(making `mm-string-to-multibyte' the same as `mm-string-as-multibyte') work
as well?
Thanks,
-Miles
--
Somebody has to do something, and it's just incredibly pathetic that it
has to be us. -- Jerry Garcia
- mm-util.el question,
Miles Bader <=