diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/isearch.el | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5169fde1a88..25c88c48996 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-02-08 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * isearch.el (isearch-quote-char): Check character validity | ||
| 4 | like in `quoted-insert' (bug#16677). | ||
| 5 | |||
| 1 | 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org> | 6 | 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * files.el (find-file-visit-truename): Doc clarification (bug#14697). | 8 | * files.el (find-file-visit-truename): Doc clarification (bug#14697). |
diff --git a/lisp/isearch.el b/lisp/isearch.el index c8dc89cb821..86a0d8fc141 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -2301,6 +2301,9 @@ before the command is executed globally with terminated Isearch." | |||
| 2301 | With argument, add COUNT copies of the character." | 2301 | With argument, add COUNT copies of the character." |
| 2302 | (interactive "p") | 2302 | (interactive "p") |
| 2303 | (let ((char (read-quoted-char (isearch-message t)))) | 2303 | (let ((char (read-quoted-char (isearch-message t)))) |
| 2304 | (unless (characterp char) | ||
| 2305 | (user-error "%s is not a valid character" | ||
| 2306 | (key-description (vector char)))) | ||
| 2304 | ;; Assume character codes 0200 - 0377 stand for characters in some | 2307 | ;; Assume character codes 0200 - 0377 stand for characters in some |
| 2305 | ;; single-byte character set, and convert them to Emacs | 2308 | ;; single-byte character set, and convert them to Emacs |
| 2306 | ;; characters. | 2309 | ;; characters. |