From 626f81e3afff14beb85837f9af6cbf5bd9ea7fcb Mon Sep 17 00:00:00 2001 From: psg <> Date: Tue, 15 Nov 2005 01:32:58 +0000 Subject: debian-bug.el: Swap "^CC:" for X-Debbugs-CC: in mail header. Thanks to Luca Capello (Really closes: #208570). --- debian-bug.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'debian-bug.el') diff --git a/debian-bug.el b/debian-bug.el index 436f2a5..accfb2e 100644 --- a/debian-bug.el +++ b/debian-bug.el @@ -271,6 +271,8 @@ ;; V1.58 05Nov2005 Peter S Galbraith ;; - debian-bug-wnpp: skip over mml directives in new drafts. ;; Thanks to Luca Capello (Closes: #337659) +;; V1.59 14Nov2005 Peter S Galbraith +;; - Search for "^cc:" instead of simply "cc:" in Bug #208570 change. ;; ---------------------------------------------------------------------------- ;;; Todo (Peter's list): @@ -641,7 +643,7 @@ Reportbug may have sent an empty report!"))) (string-equal " *nntpd*" (buffer-name))) (set-buffer "*mail*")) ; Bug in emacs21.1? Moves to " *nntpd*" (goto-char (point-min)) - (when (re-search-forward "cc:" nil t) + (when (re-search-forward "^cc:" nil t) (delete-region (match-beginning 0)(match-end 0)) (insert "X-Debbugs-CC:")) (goto-char (point-min)) -- cgit v1.2.3