From e542b4b785b1646ba7a801090a6e937645b6b330 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Wed, 23 Sep 2020 16:01:38 -0700 Subject: [PATCH] Write Gnus active files with quotes around group names * lisp/gnus/gnus-util.el (gnus-write-active-file): In case of group names with spaces in them (see Bug#42823). Names are later read with `read', so this should be quite robust. --- lisp/gnus/gnus-util.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el index 4876715ae6a..aa9f137e203 100644 --- a/lisp/gnus/gnus-util.el +++ b/lisp/gnus/gnus-util.el @@ -1177,7 +1177,7 @@ ARG is passed to the first function." (maphash (lambda (group active) (when active - (insert (format "%s %d %d y\n" + (insert (format "%S %d %d y\n" (if full-names group (gnus-group-real-name group)) -- 2.39.5