comparison lisp/mail/emacsbug.el @ 37671:deefb2de7c81

(report-emacs-bug): Don't switch the buffer to unibyte. Suggested by Kenichi Handa <handa@etl.go.jp>.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 10 May 2001 15:47:02 +0000
parents 9a4674999109
children 253f761ad37b
comparison
equal deleted inserted replaced
37670:0953aba2aebd 37671:deefb2de7c81
87 ;; if the user was asked to confirm and said no. 87 ;; if the user was asked to confirm and said no.
88 (rfc822-goto-eoh) 88 (rfc822-goto-eoh)
89 (forward-line 1) 89 (forward-line 1)
90 90
91 (let ((signature (buffer-substring (point) (point-max)))) 91 (let ((signature (buffer-substring (point) (point-max))))
92 ;; Discourage users to write non-English text.
93 (set-buffer-multibyte nil)
94 (delete-region (point) (point-max)) 92 (delete-region (point) (point-max))
95 (insert signature) 93 (insert signature)
96 (backward-char (length signature))) 94 (backward-char (length signature)))
97 (unless report-emacs-bug-no-explanations 95 (unless report-emacs-bug-no-explanations
98 ;; Insert warnings for novice users. 96 ;; Insert warnings for novice users.