gnus-msg: remove nastygram
authorJulien Danjou <julien@danjou.info>
Wed, 1 Dec 2010 18:14:30 +0000 (19:14 +0100)
committerJulien Danjou <julien@danjou.info>
Wed, 1 Dec 2010 18:14:30 +0000 (19:14 +0100)
Signed-off-by: Julien Danjou <julien@danjou.info>
lisp/ChangeLog
lisp/gnus-msg.el

index 300a2bc..cfa3727 100644 (file)
@@ -1,3 +1,7 @@
+2010-12-01  Julien Danjou  <julien@danjou.info>
+
+       * gnus-msg.el: Remove nastygram thing.
+
 2010-12-01  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * nnmaildir.el (nnmaildir-request-set-mark): Add article to add-mark
index 544aa77..7480bfe 100644 (file)
@@ -1307,24 +1307,6 @@ See `gnus-summary-mail-forward' for ARG."
   (interactive "P")
   (gnus-summary-mail-forward arg t))
 
-(defvar gnus-nastygram-message
-  "The following article was inappropriately posted to %s.\n\n"
-  "Format string to insert in nastygrams.
-The current group name will be inserted at \"%s\".")
-
-(defun gnus-summary-mail-nastygram (n)
-  "Send a nastygram to the author of the current article."
-  (interactive "P")
-  (when (or gnus-expert-user
-           (gnus-y-or-n-p
-            "Really send a nastygram to the author of the current article? "))
-    (let ((group gnus-newsgroup-name))
-      (gnus-summary-reply-with-original n)
-      (set-buffer gnus-message-buffer)
-      (message-goto-body)
-      (insert (format gnus-nastygram-message group))
-      (message-send-and-exit))))
-
 (defun gnus-summary-mail-crosspost-complaint (n)
   "Send a complaint about crossposting to the current article(s)."
   (interactive "P")