* emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
+2002-04-29 Markus Rost <rost@math.ohio-state.edu>
+
+ * mail/emacsbug.el (report-emacs-bug-hook): Use
+ replace-match only if search was successful.
+
2002-04-29 Richard M. Stallman <rms@gnu.org>
* net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
(let ((p (point)))
(if (re-search-forward (concat "^In " (emacs-version)) nil t)
(delete-region p (match-beginning 0))))
- (re-search-forward "Please describe.+\n.+precise symptoms.+bug:\n*"
- (point-max) t)
- (replace-match "Symptoms:\n")))
+ (if (re-search-forward "Please describe.+\n.+precise symptoms.+bug:\n*"
+ (point-max) t)
+ (replace-match "Symptoms:\n"))))
(provide 'emacsbug)