mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
(quoted-insert): Bind keyboard-translate-table around
read-char.
This commit is contained in:
parent
b8b60362db
commit
940fe4866f
@ -318,10 +318,11 @@ In binary overwrite mode, this function does overwrite, and octal
|
||||
digits are interpreted as a character code. This is intended to be
|
||||
useful for editing binary files."
|
||||
(interactive "*p")
|
||||
(let ((char (if (or (not overwrite-mode)
|
||||
(eq overwrite-mode 'overwrite-mode-binary))
|
||||
(read-quoted-char)
|
||||
(read-char))))
|
||||
(let* ((char (let (keyboard-translate-table)
|
||||
(if (or (not overwrite-mode)
|
||||
(eq overwrite-mode 'overwrite-mode-binary))
|
||||
(read-quoted-char)
|
||||
(read-char)))))
|
||||
;; Assume character codes 0240 - 0377 stand for characters in some
|
||||
;; single-byte character set, and convert them to Emacs
|
||||
;; characters.
|
||||
|
Loading…
Reference in New Issue
Block a user