From 5e11c4250110a4cd8ce7c511d0d4b3e595f34c8e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 31 Aug 2001 18:00:54 +0000 Subject: [PATCH] (report-emacs-bug): Make sure *Messages* exists. From Andy Petrusenco . --- lisp/ChangeLog | 6 +++++- lisp/mail/emacsbug.el | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2c2eb84ba64..8ef46c40bef 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,7 +1,11 @@ 2001-08-31 Eli Zaretskii + * mail/emacsbug.el (report-emacs-bug): Make sure *Messages* + exists. From Andy Petrusenco . + * hi-lock.el (hi-lock-unface-buffer): Don't call x-popup-menu if - display-popup-menus-p returns nil. + display-popup-menus-p returns nil. Suggested by Andy Petrusenco + . 2001-08-31 Gerd Moellmann diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index ccccdddea58..8da08494add 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -77,7 +77,7 @@ Prompts for bug subject. Leaves you in a mail buffer." (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 -- 2.39.5