Commit 4443f204 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

report-emacs-bug: cope with read-only signature.

parent 82ac93bd
2012-04-04 Richard Stallman <>
* mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2012-04-03 Chong Yidong <>
* mail/sendmail.el (mail-mode-map): Bind C-c C-i to
......@@ -182,7 +182,9 @@ Prompts for bug subject. Leaves you in a mail buffer."
(set (make-local-variable 'message-strip-special-text-properties) nil))
(forward-line 1)
(let ((signature (buffer-substring (point) (point-max))))
;; Move the mail signature to the proper place.
(let ((signature (buffer-substring (point) (point-max)))
(inhibit-read-only t))
(delete-region (point) (point-max))
(insert signature)
(backward-char (length signature)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment