emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master bc78276: * lisp/mail/rfc2047.el (rfc2047-decode-enc


From: Stefan Monnier
Subject: [Emacs-diffs] master bc78276: * lisp/mail/rfc2047.el (rfc2047-decode-encoded-words): Set `words` to nil.
Date: Mon, 22 May 2017 16:53:26 -0400 (EDT)

branch: master
commit bc78276e81956b3caa8a5eb7ef26959fa4c84b7b
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/mail/rfc2047.el (rfc2047-decode-encoded-words): Set `words` to nil.
---
 lisp/mail/rfc2047.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/mail/rfc2047.el b/lisp/mail/rfc2047.el
index bb8bc01..e2af86b 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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]