From: tmorioka Date: Mon, 24 Feb 1997 10:04:23 +0000 (+0000) Subject: (mime-edit-insert-message, mime-edit-insert-mail, X-Git-Tag: Hokutetsu-Ishikawa-new~298 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e5ccd190030f36af5528d71ef425a1775a0e9011;p=elisp%2Fsemi.git (mime-edit-insert-message, mime-edit-insert-mail, mime-editor::edit-again): Don't use `assoc-value'; Don't require tl-list. --- diff --git a/mime-edit.el b/mime-edit.el index 1434bbf..3d4ceb0 100644 --- a/mime-edit.el +++ b/mime-edit.el @@ -7,7 +7,7 @@ ;; Maintainer: MORIOKA Tomohiko ;; Created: 1994/08/21 renamed from mime.el ;; Renamed: 1997/2/21 from tm-edit.el -;; Version: $Revision: 0.42 $ +;; Version: $Revision: 0.43 $ ;; Keywords: MIME, multimedia, multilingual, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -111,7 +111,6 @@ (require 'sendmail) (require 'mail-utils) (require 'mel) -(require 'tl-list) (require 'mime-view) (require 'eword-encode) (require 'signature) @@ -121,7 +120,7 @@ ;;; (defconst mime-edit-RCS-ID - "$Id: mime-edit.el,v 0.42 1997-02-24 02:40:38 tmorioka Exp $") + "$Id: mime-edit.el,v 0.43 1997-02-24 10:04:23 tmorioka Exp $") (defconst mime-edit-version (get-version-string mime-edit-RCS-ID)) @@ -1959,7 +1958,7 @@ and insert data encoded as ENCODING. [mime-edit.el]" (defun mime-edit-insert-message (&optional message) (interactive) - (let ((inserter (assoc-value major-mode mime-edit-message-inserter-alist))) + (let ((inserter (cdr (assq major-mode mime-edit-message-inserter-alist)))) (if (and inserter (fboundp inserter)) (progn (mime-edit-insert-tag "message" "rfc822") @@ -1970,7 +1969,7 @@ and insert data encoded as ENCODING. [mime-edit.el]" (defun mime-edit-insert-mail (&optional message) (interactive) - (let ((inserter (assoc-value major-mode mime-edit-mail-inserter-alist))) + (let ((inserter (cdr (assq major-mode mime-edit-mail-inserter-alist)))) (if (and inserter (fboundp inserter)) (progn (mime-edit-insert-tag "message" "rfc822") @@ -2439,7 +2438,7 @@ Content-Type: message/partial; id=%s; number=%d; total=%d\n%s\n" (delete-region (point-min)(point-max)) ) ((string= type "multipart") - (let* ((boundary (assoc-value "boundary" params)) + (let* ((boundary (cdr (assoc "boundary" params))) (boundary-pat (concat "\n--" (regexp-quote boundary) "[ \t]*\n")) )