Commit 99be0aba authored by Eric Abrahamsen's avatar Eric Abrahamsen

Check gnus-newsgroup-dependencies is hash table in gnus-id-to-thread

* lisp/gnus/gnus-sum.el (gnus-id-to-thread): If dependencies haven't
  been initialized yet, don't blow up. Mimicks previous (non hasht
  table) behavior.
parent 6d7e18e8
Pipeline #1116 failed with stage
in 49 minutes and 53 seconds
......@@ -4750,7 +4750,8 @@ If LINE, insert the rebuilt thread starting on line LINE."
(defun gnus-id-to-thread (id)
"Return the (sub-)thread where ID appears."
(gethash id gnus-newsgroup-dependencies))
(when (hash-table-p gnus-newsgroup-dependencies)
(gethash id gnus-newsgroup-dependencies)))
(defun gnus-id-to-article (id)
"Return the article number of ID."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment