emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/gnus-decoded ed5ddc1 5/7: Fix encoding bug in gnus


From: Eric Abrahamsen
Subject: [Emacs-diffs] scratch/gnus-decoded ed5ddc1 5/7: Fix encoding bug in gnus-group-rename-group
Date: Fri, 21 Jun 2019 16:55:34 -0400 (EDT)

branch: scratch/gnus-decoded
commit ed5ddc1a7bb5a227db38df2e08e6e3761baddf46
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    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 51383de..528dbce 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"))



reply via email to

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