Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e255a703
Commit
e255a703
authored
Feb 07, 2014
by
Juanma Barranquero
Browse files
* lisp/simple.el (quoted-insert): Check character validity (bug#16677).
parent
9be95071
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/simple.el
lisp/simple.el
+3
-0
No files found.
lisp/ChangeLog
View file @
e255a703
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
...
...
lisp/simple.el
View file @
e255a703
...
...
@@ -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)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment