* lisp/mail/rfc2047.el (rfc2047-decode-encoded-words): Set words to nil.

This commit is contained in:
Stefan Monnier 2017-05-22 16:53:18 -04:00
parent 62046ed3e9
commit bc78276e81

View file

@ -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?