From ed5ddc1a7bb5a227db38df2e08e6e3761baddf46 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Fri, 21 Jun 2019 10:38:57 -0700 Subject: [PATCH] Fix encoding bug in gnus-group-rename-group * lisp/gnus/gnus-group.el (gnus-group-rename-group): Should not be encoding or decoding here. --- lisp/gnus/gnus-group.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 51383de4581..528dbce1614 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el @@ -2824,13 +2824,9 @@ and NEW-NAME will be prompted for." (error "This back end does not support renaming groups")) (setq new-name (gnus-read-group "Rename group to: " - (gnus-group-real-name (gnus-group-decoded-name group))) + (gnus-group-real-name group)) method (gnus-info-method (gnus-get-info group))) - (list group (encode-coding-string - new-name - (gnus-group-name-charset - method - (gnus-group-prefixed-name new-name method)))))) + (list group (gnus-group-prefixed-name new-name method)))) (unless (gnus-check-backend-function 'request-rename-group group) (error "This back end does not support renaming groups")) -- 2.39.5