summaryrefslogtreecommitdiff
path: root/debian-bug.el
diff options
context:
space:
mode:
authorpsg <>2003-05-24 00:46:53 +0000
committerpsg <>2003-05-24 00:46:53 +0000
commitdcffbeababfae3760c016804b88d8fb9edc891b0 (patch)
treedd987ddc6c8c4bd7605f1d64146d2d7f3f09e5f1 /debian-bug.el
parent4d3f84e005af544d991bd3ee420b351608bd71af (diff)
debian-bug.el: update to V1.42
Diffstat (limited to 'debian-bug.el')
-rw-r--r--debian-bug.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/debian-bug.el b/debian-bug.el
index 92aced4..86267d7 100644
--- a/debian-bug.el
+++ b/debian-bug.el
@@ -193,6 +193,9 @@
;; simply the if the autoloaded are fboundp (which is always true).
;; V1.41 15May2003 Peter S Galbraith <psg@debian.org>
;; - Add `confirmed' tag.
+;; V1.42 23May2003 Matt Swift <swift@alum.mit.edu>
+;; debian-bug-prefill-report: announce error if reportbug gives empty
+;; template.
;; ----------------------------------------------------------------------------
;;; Todo (Peter's list):
@@ -650,7 +653,12 @@ Done by calling `executable-find' or the external \"which\" utility."
"-q" package)
(debian-bug--set-severity severity))
;; delete the mail headers, leaving only the BTS pseudo-headers
- (delete-region (point) (search-forward "\n\n" nil t))
+ (delete-region
+ (point)
+ (or (search-forward "\n\n" nil t)
+ ;; Fix from Matt Swift
+ (error "Reportbug did not produce expected output! Bailing out.
+Reportbug may have sent an empty report!")))
;; and skip forward to them
(search-forward "\n\n" nil t)
)