mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 02:47:36 +00:00
(isearch-quote-char): Use it.
This commit is contained in:
parent
df8e73e165
commit
30bb14430c
1 changed files with 3 additions and 7 deletions
|
|
@ -1682,13 +1682,9 @@ Isearch mode."
|
|||
;; single-byte character set, and convert them to Emacs
|
||||
;; characters.
|
||||
(if (and isearch-regexp (= char ?\ ))
|
||||
(if (condition-case err
|
||||
(progn
|
||||
(string-match isearch-string "")
|
||||
nil)
|
||||
(error (equal (cadr err) "Unmatched [ or [^")))
|
||||
(isearch-process-search-char char)
|
||||
(isearch-process-search-string "[ ]" " "))
|
||||
(if (subregexp-context-p isearch-string pos)
|
||||
(isearch-process-search-string "[ ]" " ")
|
||||
(isearch-process-search-char char))
|
||||
(and enable-multibyte-characters
|
||||
(>= char ?\200)
|
||||
(<= char ?\377)
|
||||
|
|
|
|||
Loading…
Reference in a new issue