Revision: miles@gnu.org--gnu-2004/gnus--devo--0--patch-145
authorMiles Bader <miles@gnu.org>
Wed, 13 Oct 2004 01:27:08 +0000 (01:27 +0000)
committerMiles Bader <miles@gnu.org>
Wed, 13 Oct 2004 01:27:08 +0000 (01:27 +0000)
Merge from gnus--rel--5.10

Patches applied:

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-46
   Update from CVS

texi/ChangeLog
texi/gnus-faq.texi

index e035dec..0fc62d4 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-12  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * gnus-faq.texi ([5.9]): Improve code for reply-in-news.
+
 2004-10-12  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus.texi (X-Face): Revert 2004-02-17 change.
index 6f0fddc..5d243f8 100644 (file)
@@ -1776,11 +1776,14 @@ Answer:
  
 
 @example
-(defadvice gnus-summary-reply (around reply-in-news activate)
+(eval-after-load "gnus-msg"
+  '(unless (boundp 'gnus-confirm-mail-reply-to-news)
+     (defadvice gnus-summary-reply (around reply-in-news activate)
+       "Request confirmation when replying to news."
        (interactive)
-        (when (or (not (gnus-news-group-p gnus-newsgroup-name))
-                  (y-or-n-p "Really reply? "))
-         ad-do-it))
+       (when (or (not (gnus-news-group-p gnus-newsgroup-name))
+                 (y-or-n-p "Really reply by mail to article author? "))
+         ad-do-it))))
 @end example
  
 @ifnottex