(gnus-agent-mode): New advice.
authorczkmt <czkmt>
Sat, 15 Jan 2000 09:01:56 +0000 (09:01 +0000)
committerczkmt <czkmt>
Sat, 15 Jan 2000 09:01:56 +0000 (09:01 +0000)
lisp/gnus-offline.el

index fccf46e..f9bc3eb 100644 (file)
@@ -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...
 ;;