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.
This commit is contained in:
parent
6d7e18e801
commit
99be0aba4d
1 changed files with 2 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue