X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=mel.el;h=2ed43a402216a711414a33bbf33b905d634809f4;hb=5fb11b58b6a6c8ebabf0cee2c30b92293b056a23;hp=bb8150d35d2a6731e4d6470f5dca298ad5be5086;hpb=dffc86833d4794229d30c034041869f17f1a88fe;p=elisp%2Fflim.git diff --git a/mel.el b/mel.el index bb8150d..2ed43a4 100644 --- a/mel.el +++ b/mel.el @@ -28,8 +28,6 @@ (require 'emu) -(defconst mel-version "7.5") - ;;; @ variable ;;; @@ -149,19 +147,6 @@ STRING is content-transfer-encoding. FUNCTION is region decoder.") ;;;###autoload -(defvar mime-string-decoding-method-alist - '(("base64" . base64-decode-string) - ("quoted-printable" . quoted-printable-decode-string) - ("7bit" . identity) - ("8bit" . identity) - ("binary" . identity) - ) - "Alist of encoding vs. corresponding method to decode string. -Each element looks like (STRING . FUNCTION). -STRING is content-transfer-encoding. -FUNCTION is string decoder.") - -;;;###autoload (defun mime-encode-region (start end encoding) "Encode region START to END of current buffer using ENCODING. ENCODING must be string. If ENCODING is found in @@ -195,6 +180,23 @@ region by its value." (funcall f start end) ))) + +;;; @ string +;;; + +;;;###autoload +(defvar mime-string-decoding-method-alist + '(("base64" . base64-decode-string) + ("quoted-printable" . quoted-printable-decode-string) + ("7bit" . identity) + ("8bit" . identity) + ("binary" . identity) + ) + "Alist of encoding vs. corresponding method to decode string. +Each element looks like (STRING . FUNCTION). +STRING is content-transfer-encoding. +FUNCTION is string decoder.") + ;;;###autoload (defun mime-decode-string (string encoding) "Decode STRING using ENCODING.