]> git.eshelyaron.com Git - emacs.git/commit
Remove bogus mode check from gnus topic update functions
authorEric Abrahamsen <eric@ericabrahamsen.net>
Wed, 4 May 2022 19:54:37 +0000 (12:54 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Wed, 4 May 2022 19:54:37 +0000 (12:54 -0700)
commit2b50dbb1a51054f8b6b1214db9dd0a69dd342c93
treeb27d308cccda796f1d5510f627b43a9c07927ac8
parent78df8a0e3d3cce35fbcc972a62200a9da506a0a1
Remove bogus mode check from gnus topic update functions

* lisp/gnus/gnus-topic.el (gnus-topic-update-topics-containing-group):
(gnus-topic-update-topic): These functions originally checked to see
if we were in group mode, but later that check was changed to
'gnus-topic-mode, which never passes because 'gnus-topic-mode isn't a
major mode. Revert to checking for 'gnus-group-mode, and use
`derived-mode-p' while we're at it.
lisp/gnus/gnus-topic.el