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
2423c8d5
Commit
2423c8d5
authored
Feb 08, 2014
by
Juri Linkov
Browse files
* lisp/isearch.el (isearch-quote-char): Check character validity like in `quoted-insert'.
Fixes: debbugs:16677
parent
893cc908
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/isearch.el
lisp/isearch.el
+3
-0
No files found.
lisp/ChangeLog
View file @
2423c8d5
2014-02-08 Juri Linkov <juri@jurta.org>
* isearch.el (isearch-quote-char): Check character validity
like in `quoted-insert' (bug#16677).
2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
* files.el (find-file-visit-truename): Doc clarification (bug#14697).
...
...
lisp/isearch.el
View file @
2423c8d5
...
...
@@ -2301,6 +2301,9 @@ before the command is executed globally with terminated Isearch."
With argument, add COUNT copies of the character."
(interactive "p")
(let ((char (read-quoted-char (isearch-message t))))
(unless (characterp char)
(user-error "%s is not a valid character"
(key-description (vector char))))
;; Assume character codes 0200 - 0377 stand for characters in some
;; single-byte character set, and convert them to Emacs
;; characters.
...
...
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