mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(report-emacs-bug): Insert newlines only in the inserted key descriptions.
This commit is contained in:
parent
0ab5e72ab1
commit
d94ad35b27
1 changed files with 12 additions and 10 deletions
|
|
@ -66,18 +66,20 @@ Prompts for bug subject. Leaves you in a mail buffer."
|
|||
(insert "\n\n\n"
|
||||
"Recent input:\n")
|
||||
(let ((before-keys (point)))
|
||||
(insert (mapconcat (function (lambda (key)
|
||||
(if (or (integerp key)
|
||||
(symbolp key)
|
||||
(listp key))
|
||||
(single-key-description key)
|
||||
(prin1-to-string key nil))))
|
||||
(insert (mapconcat (lambda (key)
|
||||
(if (or (integerp key)
|
||||
(symbolp key)
|
||||
(listp key))
|
||||
(single-key-description key)
|
||||
(prin1-to-string key nil)))
|
||||
(recent-keys)
|
||||
" "))
|
||||
(goto-char before-keys)
|
||||
(while (progn (move-to-column 50) (not (eobp)))
|
||||
(search-forward " " nil t)
|
||||
(insert "\n")))
|
||||
(save-restriction
|
||||
(narrow-to-region before-keys (point))
|
||||
(goto-char before-keys)
|
||||
(while (progn (move-to-column 50) (not (eobp)))
|
||||
(search-forward " " nil t)
|
||||
(insert "\n"))))
|
||||
(let ((message-buf (get-buffer "*Messages*")))
|
||||
(if message-buf
|
||||
(progn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue