diff options
| author | Martin Rudalics | 2015-12-28 19:11:22 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2015-12-28 19:11:22 +0100 |
| commit | 6dcaa56a13271eabc79d475059d29ebb886ea3e7 (patch) | |
| tree | 83505741df3edc3ceb6faf09df6b6fdf4ce2a193 | |
| parent | b406665df12664a3e7048f93f192a488a14058f2 (diff) | |
| download | emacs-6dcaa56a13271eabc79d475059d29ebb886ea3e7.tar.gz emacs-6dcaa56a13271eabc79d475059d29ebb886ea3e7.zip | |
Fix Bug#10873 in `report-emacs-bug'
* lisp/mail/emacsbug.el (report-emacs-bug): If
`report-emacs-bug-no-explanations' is nil, make sure we can show
mail and warnings buffer on this frame (Bug#10873).
| -rw-r--r-- | lisp/mail/emacsbug.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index bc2dafaea9a..ae0e711d814 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el | |||
| @@ -162,6 +162,14 @@ Prompts for bug subject. Leaves you in a mail buffer." | |||
| 162 | (setq message-end-point | 162 | (setq message-end-point |
| 163 | (with-current-buffer (messages-buffer) | 163 | (with-current-buffer (messages-buffer) |
| 164 | (point-max-marker))) | 164 | (point-max-marker))) |
| 165 | (condition-case nil | ||
| 166 | ;; For the novice user make sure there's always enough space for | ||
| 167 | ;; the mail and the warnings buffer on this frame (Bug#10873). | ||
| 168 | (unless report-emacs-bug-no-explanations | ||
| 169 | (delete-other-windows) | ||
| 170 | (set-window-dedicated-p nil nil) | ||
| 171 | (set-frame-parameter nil 'unsplittable nil)) | ||
| 172 | (error nil)) | ||
| 165 | (compose-mail report-emacs-bug-address topic) | 173 | (compose-mail report-emacs-bug-address topic) |
| 166 | ;; The rest of this does not execute if the user was asked to | 174 | ;; The rest of this does not execute if the user was asked to |
| 167 | ;; confirm and said no. | 175 | ;; confirm and said no. |