mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-15 09:47:20 +00:00
* lisp/simple.el (quoted-insert): Check character validity (bug#16677).
This commit is contained in:
parent
9be95071f4
commit
e255a70376
@ -1,3 +1,7 @@
|
||||
2014-02-07 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* simple.el (quoted-insert): Check character validity (bug#16677).
|
||||
|
||||
2014-02-07 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* desktop.el (desktop-read): Claim the lock when the owner is not
|
||||
|
@ -738,6 +738,9 @@ useful for editing binary files."
|
||||
;; (>= char ?\240)
|
||||
;; (<= char ?\377))
|
||||
;; (setq char (unibyte-char-to-multibyte char)))
|
||||
(unless (characterp char)
|
||||
(user-error "%s is not a valid character"
|
||||
(key-description (vector char))))
|
||||
(if (> arg 0)
|
||||
(if (eq overwrite-mode 'overwrite-mode-binary)
|
||||
(delete-char arg)))
|
||||
|
Loading…
Reference in New Issue
Block a user