[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RP] [PATCH 3/3] run switch group hooks after gdelete
From: |
Ali Gholami Rudi |
Subject: |
[RP] [PATCH 3/3] run switch group hooks after gdelete |
Date: |
Sat, 11 Oct 2008 09:40:12 +0330 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
When current group is deleted, a new group is selected but switch
group hooks are not run. This patch calls set_current_group() which
runs those hooks.
---
src/group.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/group.c b/src/group.c
index 00d1476..08dc8a7 100644
--- a/src/group.c
+++ b/src/group.c
@@ -551,7 +551,7 @@ group_delete_group (rp_group *g)
if (g == rp_current_group)
{
rp_group *next = group_last_group ();
- set_current_group_1 (next ? next : group_next_group ());
+ set_current_group (next ? next : group_next_group ());
}
list_del (&(g->node));
--
1.6.0.2.307.gc427.dirty