Back-compatible.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 18 Dec 1999 16:19:06 +0000 (16:19 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 18 Dec 1999 16:19:06 +0000 (16:19 +0000)
lisp/ChangeLog
lisp/gnus-agent.el

index a381bf8..e9f891a 100644 (file)
@@ -1,3 +1,8 @@
+1999-12-18 11:14:51  Shenghuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus-agent.el (gnus-agent-enter-history): Back-compatible in
+       group name.
+
 1999-12-18 11:02:00  Shenghuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus-agent.el (gnus-agent-expire): Convert to symbol if stringp.
index cc10366..7b867e5 100644 (file)
@@ -699,12 +699,15 @@ the actual number of articles toggled is returned."
   (save-excursion
     (set-buffer gnus-agent-current-history)
     (goto-char (point-max))
-    (insert id "\t" (number-to-string date) "\t")
-    (while group-arts
-      (insert (format "%S" (caar group-arts)) 
-             " " (number-to-string (cdr (pop group-arts)))
-             " "))
-    (insert "\n")))
+    (let ((p (point)))
+      (insert id "\t" (number-to-string date) "\t")
+      (while group-arts
+       (insert (format "%S" (intern (caar group-arts)))
+               " " (number-to-string (cdr (pop group-arts)))
+               " "))
+      (insert "\n")
+      (while (search-backward "\\." p t)
+       (delete-char 1)))))
 
 (defun gnus-agent-article-in-history-p (id)
   (save-excursion