Commit e255a703 authored by Juanma Barranquero's avatar Juanma Barranquero

* lisp/simple.el (quoted-insert): Check character validity (bug#16677).

parent 9be95071
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)))
......
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