From 2aabdd9c278509a918f59aa9d011c43a7c4918e9 Mon Sep 17 00:00:00 2001 From: czkmt Date: Sat, 15 Jan 2000 09:01:56 +0000 Subject: [PATCH] (gnus-agent-mode): New advice. --- lisp/gnus-offline.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/gnus-offline.el b/lisp/gnus-offline.el index fccf46e..f9bc3eb 100644 --- a/lisp/gnus-offline.el +++ b/lisp/gnus-offline.el @@ -428,6 +428,11 @@ Please check your .emacs or .gnus.el to work nnspool fine.") (t ad-do-it))) +(defadvice gnus-agent-mode (around gnus-offline-advice activate preactivate) + "Advice not to close PPP connection." + (let (gnus-offline-hangup-function) + ad-do-it)) + ;; ;; Setting up... ;; -- 1.7.10.4