From: shuhei-k Date: Mon, 3 Mar 1997 08:03:06 +0000 (+0000) Subject: (std11-addr-to-string): Enclose quoted-string with double-quote. X-Git-Tag: XEmacs-20_3-b6~14 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=02b6b6c3ed34ba6e76e1b486baab6e4274547033;p=elisp%2Fapel.git (std11-addr-to-string): Enclose quoted-string with double-quote. --- diff --git a/std11.el b/std11.el index 270c3db..c051a16 100644 --- a/std11.el +++ b/std11.el @@ -1,10 +1,10 @@ ;;; std11.el --- STD 11 functions for GNU Emacs -;; Copyright (C) 1995,1996 Free Software Foundation, Inc. +;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc. ;; Author: MORIOKA Tomohiko ;; Keywords: mail, news, RFC 822, STD 11 -;; Version: $Id: std11.el,v 0.39 1996-12-17 12:06:15 morioka Exp $ +;; Version: $Id: std11.el,v 0.40 1997-03-03 08:03:06 shuhei-k Exp $ ;; This file is part of MU (Message Utilities). @@ -263,13 +263,14 @@ If BOUNDARY is not nil, it is used as message header separator. represents addr-spec of RFC 822. [std11.el]" (mapconcat (function (lambda (token) - (if (let ((name (car token))) - (or (eq name 'spaces) - (eq name 'comment) - )) - "" - (cdr token) - ))) + (let ((name (car token))) + (cond + ((eq name 'spaces) "") + ((eq name 'comment) "") + ((eq name 'quoted-string) + (concat "\"" (cdr token) "\"")) + (t (cdr token))) + ))) seq "") )