From: morioka Date: Sat, 14 Sep 1996 08:44:17 +0000 (+0000) Subject: (rfc822/strip-quoted-string): New alias; moved to std11.el. X-Git-Tag: XEmacs-20_3-b27-viet~12 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=126c18bab974ceea393c2babb55ed25ed9ba1994;p=elisp%2Fmu-cite.git (rfc822/strip-quoted-string): New alias; moved to std11.el. --- diff --git a/tl-822.el b/tl-822.el index a82e503..97d56a7 100644 --- a/tl-822.el +++ b/tl-822.el @@ -30,7 +30,7 @@ (defconst rfc822/RCS-ID - "$Id: tl-822.el,v 7.67 1996-09-14 08:30:40 morioka Exp $") + "$Id: tl-822.el,v 7.68 1996-09-14 08:44:17 morioka Exp $") (defconst rfc822/version (get-version-string rfc822/RCS-ID)) @@ -65,35 +65,7 @@ "\"")) (defalias 'rfc822/wrap-as-quoted-string 'std11-wrap-as-quoted-string) - -(defun rfc822/strip-quoted-pair (str) - (let ((dest "") - (i 0) - (len (length str)) - chr flag) - (while (< i len) - (setq chr (elt str i)) - (if (or flag (not (eq chr ?\\))) - (progn - (setq dest (concat dest (char-to-string chr))) - (setq flag nil) - ) - (setq flag t) - ) - (setq i (+ i 1)) - ) - dest)) - -(defun rfc822/strip-quoted-string (str) - (rfc822/strip-quoted-pair - (let ((max (- (length str) 1)) - ) - (if (and (eq (elt str 0) ?\") - (eq (elt str max) ?\") - ) - (substring str 1 max) - str) - ))) +(defalias 'rfc822/strip-quoted-string 'std11-strip-quoted-string) ;;; @ unfolding