summaryrefslogtreecommitdiff
path: root/debian-bug.el
diff options
context:
space:
mode:
authorpsg <>2005-11-15 01:32:58 +0000
committerpsg <>2005-11-15 01:32:58 +0000
commit626f81e3afff14beb85837f9af6cbf5bd9ea7fcb (patch)
treefb15a6309ab75930c7e6d0ec0fe8ee3ecd56ee97 /debian-bug.el
parent2b25ee58452f1439899afc93948057feb2767e28 (diff)
debian-bug.el: Swap "^CC:" for X-Debbugs-CC: in mail header.
Thanks to Luca Capello (Really closes: #208570).
Diffstat (limited to 'debian-bug.el')
-rw-r--r--debian-bug.el4
1 files changed, 3 insertions, 1 deletions
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 <psg@debian.org>
;; - debian-bug-wnpp: skip over mml directives in new drafts.
;; Thanks to Luca Capello <luca@pca.it> (Closes: #337659)
+;; V1.59 14Nov2005 Peter S Galbraith <psg@debian.org>
+;; - 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))