1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Fix quoting problem in pop3-uidl-save

* lisp/net/pop3.el (pop3-uidl-save): Quote strings properly
(bug#43896).
This commit is contained in:
Andreas Schwab 2021-01-07 13:20:43 +01:00 committed by Lars Ingebrigtsen
parent 2f6e30cd86
commit e15386da5d

View file

@ -463,7 +463,7 @@ Return non-nil if it is necessary to update the local UIDL file."
(when (cdr elt)
(insert "(\"" (pop elt) "\"\n ")
(while elt
(insert (format "\"%s\" %s\n " (pop elt) (pop elt))))
(insert (format "%S %s\n " (pop elt) (pop elt))))
(delete-char -4)
(insert ")\n ")))
(delete-char -3)