changeset 39067:781a740a46a0

(report-emacs-bug): Make sure *Messages* exists. From Andy Petrusenco <andy@int.spb.ru>.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 31 Aug 2001 17:59:42 +0000
parents ed3408a1ca8b
children 5896059a4531
files lisp/mail/emacsbug.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/emacsbug.el	Fri Aug 31 17:53:03 2001 +0000
+++ b/lisp/mail/emacsbug.el	Fri Aug 31 17:59:42 2001 +0000
@@ -77,7 +77,7 @@
   (let ((pretest-p (string-match "\\..*\\..*\\." emacs-version))
 	user-point message-end-point)
     (setq message-end-point
-	  (with-current-buffer (get-buffer "*Messages*")
+	  (with-current-buffer (get-buffer-create "*Messages*")
 	    (point-max-marker)))
     (compose-mail (if pretest-p
 		      report-emacs-bug-pretest-address