mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 07:11:34 -08:00
Remove the check for non-ASCII in report-emacs-bug-hook (Bug#7925).
* mail/emacsbug.el (report-emacs-bug-hook): Remove the check for non-ASCII characters.
This commit is contained in:
parent
184469b7a0
commit
f8b351c190
2 changed files with 5 additions and 12 deletions
|
|
@ -340,18 +340,6 @@ usually do not have translators to read other languages for them.\n\n")
|
|||
(string-equal (buffer-substring-no-properties (point-min) (point))
|
||||
report-emacs-bug-orig-text)
|
||||
(error "No text entered in bug report"))
|
||||
;; Check the buffer contents and reject non-English letters.
|
||||
;; FIXME message-mode probably does this anyway.
|
||||
(goto-char (point-min))
|
||||
(skip-chars-forward "\0-\177")
|
||||
(unless (eobp)
|
||||
(if (or report-emacs-bug-no-confirmation
|
||||
(y-or-n-p "Convert non-ASCII letters to hexadecimal? "))
|
||||
(while (progn (skip-chars-forward "\0-\177")
|
||||
(not (eobp)))
|
||||
(let ((ch (following-char)))
|
||||
(delete-char 1)
|
||||
(insert (format "=%02x" ch))))))
|
||||
|
||||
;; The last warning for novice users.
|
||||
(unless (or report-emacs-bug-no-confirmation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue