projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d7e18e
)
Check gnus-newsgroup-dependencies is hash table in gnus-id-to-thread
author
Eric Abrahamsen
<eric@ericabrahamsen.net>
Sun, 31 Mar 2019 15:36:56 +0000
(08:36 -0700)
committer
Eric Abrahamsen
<eric@ericabrahamsen.net>
Sun, 31 Mar 2019 15:36:56 +0000
(08:36 -0700)
* 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.
lisp/gnus/gnus-sum.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-sum.el
b/lisp/gnus/gnus-sum.el
index f09c0fbb58e05575ace4c6d8193343b00321d7a4..f5853a243051f3e793943094121e19c3110a4972 100644
(file)
--- a/
lisp/gnus/gnus-sum.el
+++ b/
lisp/gnus/gnus-sum.el
@@
-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."