;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Revision: 0.3 $
+;; Version: $Revision: 0.6 $
;; Keywords: encoded-word, MIME, multilingual, header, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
;;;
(defconst eword-encode-RCS-ID
- "$Id: eword-encode.el,v 0.3 1997-02-22 17:03:00 morioka Exp $")
+ "$Id: eword-encode.el,v 0.6 1997-02-22 17:11:31 morioka Exp $")
(defconst eword-encode-version (get-version-string eword-encode-RCS-ID))
If method is nil, this field will not be encoded.")
-(defvar eword-generate-X-Nsubject
- (and (boundp 'mime/use-X-Nsubject)
- mime/use-X-Nsubject)
+(defvar eword-generate-X-Nsubject nil
"*If it is not nil, X-Nsubject field is generated
when Subject field is encoded by `eword-encode-message-header'.")
(car (tm-eword::encode-string 0 str))
)))
-(defun mime/exist-encoded-word-in-subject ()
+(defun eword-in-subject-p ()
(let ((str (std11-field-body "Subject")))
- (if (and str (string-match mime/encoded-word-regexp str))
+ (if (and str (string-match eword-encoded-word-regexp str))
str)))
(defun eword-encode-message-header (&optional code-conversion)
))
(and eword-generate-X-Nsubject
(or (std11-field-body "X-Nsubject")
- (let ((str (mime/exist-encoded-word-in-subject)))
+ (let ((str (eword-in-subject-p)))
(if str
(progn
(setq str