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:
Philip Kaludercic 2026-01-10 17:17:08 +01:00
parent da9792166b
commit 60ed7688b5
No known key found for this signature in database

View file

@ -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)