Move definition of constant 'quoted-printable-hex-chars and
authormorioka <morioka>
Mon, 4 May 1998 21:16:19 +0000 (21:16 +0000)
committermorioka <morioka>
Mon, 4 May 1998 21:16:19 +0000 (21:16 +0000)
'quoted-printable-octet-regexp to mime-def.el.

eword-decode.el
mel-q.el

index 4d94218..cf7edc7 100644 (file)
 ;;; @@ Quoted-Printable
 ;;;
 
-(defconst quoted-printable-hex-chars "0123456789ABCDEF")
-(defconst quoted-printable-octet-regexp
-  (concat "=[" quoted-printable-hex-chars
-         "][" quoted-printable-hex-chars "]"))
-
 (defconst eword-Q-encoded-text-regexp
   (concat "\\([^=?]\\|" quoted-printable-octet-regexp "\\)+"))
 ;; (defconst eword-Q-encoding-and-encoded-text-regexp
index 63d95fb..9a8f954 100644 (file)
--- a/mel-q.el
+++ b/mel-q.el
 ;;; Code:
 
 (require 'emu)
+(require 'mime-def)
 
 
 ;;; @ Quoted-Printable encoder
 ;;;
 
-(defconst quoted-printable-hex-chars "0123456789ABCDEF")
-
 (defsubst quoted-printable-quote-char (character)
   (concat
    "="
@@ -188,10 +187,6 @@ It calls external quoted-printable encoder specified by
                        )))
               string "")))
 
-(defconst quoted-printable-octet-regexp
-  (concat "=[" quoted-printable-hex-chars
-         "][" quoted-printable-hex-chars "]"))
-
 (defun quoted-printable-internal-decode-region (start end)
   (save-excursion
     (save-restriction