if the user edits the Emacs version number in the text.
2002-04-29 Richard M. Stallman <rms@gnu.org>
+ * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
+ if the user edits the Emacs version number in the text.
+
* filesets.el (filesets-running-xemacs): Make defvar unconditional.
(filesets-ingroup-files): Renamed from filesets-ingroup-paths.
(filesets-error): Simplify definition and make conditional
;; Unclutter
(mail-text)
(let ((p (point)))
- (re-search-forward (concat "^In " (emacs-version)))
- (delete-region p (match-beginning 0)))
+ (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")))