Convert to symbol if stringp.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 18 Dec 1999 16:05:17 +0000 (16:05 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 18 Dec 1999 16:05:17 +0000 (16:05 +0000)
lisp/ChangeLog
lisp/gnus-agent.el

index da8bf8d..a381bf8 100644 (file)
@@ -1,3 +1,7 @@
+1999-12-18 11:02:00  Shenghuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus-agent.el (gnus-agent-expire): Convert to symbol if stringp.
+
 1999-12-18  Simon Josefsson  <jas@pdc.kth.se>
 
        * imap.el: Don't autoload digest-md5.
index b4c1d47..cc10366 100644 (file)
@@ -1454,8 +1454,9 @@ The following commands are available:
                    (forward-line 1)
                  ;; Old article.  Schedule it for possible nuking.
                  (while (not (eolp))
-                   (setq sym (let ((obarray expiry-hashtb))
-                               (read (current-buffer))))
+                   (setq sym (let ((obarray expiry-hashtb) s)
+                               (setq s (read (current-buffer)))
+                               (if (stringp s) (intern s) s)))
                    (if (boundp sym)
                        (set sym (cons (cons (read (current-buffer)) (point))
                                       (symbol-value sym)))