mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
Quote diff when reviewing package
* lisp/emacs-lisp/package.el (package-review): Run 'comment-region' on the output of diff.
This commit is contained in:
parent
da9792166b
commit
60ed7688b5
1 changed files with 4 additions and 1 deletions
|
|
@ -797,7 +797,10 @@ attached."
|
|||
(pcase mail-user-agent
|
||||
('sendmail-user-agent (mail-text))
|
||||
(_ (message-goto-body)))
|
||||
(insert-buffer-substring tmp-buf)))
|
||||
(let ((start (point)))
|
||||
(save-excursion
|
||||
(insert-buffer-substring tmp-buf)
|
||||
(comment-region start (point))))))
|
||||
t)
|
||||
(?c
|
||||
(view-file news)
|
||||
|
|
|
|||
Loading…
Reference in a new issue