From: Stefan Monnier Date: Mon, 22 May 2017 20:53:18 +0000 (-0400) Subject: * lisp/mail/rfc2047.el (rfc2047-decode-encoded-words): Set `words` to nil. X-Git-Tag: emacs-26.0.90~521^2~304 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc78276e81956b3caa8a5eb7ef26959fa4c84b7b;p=emacs.git * lisp/mail/rfc2047.el (rfc2047-decode-encoded-words): Set `words` to nil. --- diff --git a/lisp/mail/rfc2047.el b/lisp/mail/rfc2047.el index bb8bc01dce5..e2af86b3246 100644 --- a/lisp/mail/rfc2047.el +++ b/lisp/mail/rfc2047.el @@ -952,6 +952,7 @@ ENCODED-WORD)." (push (cons cs text) rest)) ;; Don't decode encoded-word. (push (cons nil (nth 3 word)) rest))) + (setq words nil) (while rest ;; FIXME: This looks O(N²). Can we make it more efficient ;; with something like mapconcat?