]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/isearch.el (isearch-quote-char): Comment out converting unibyte
authorJuri Linkov <juri@jurta.org>
Tue, 27 Aug 2013 15:57:16 +0000 (18:57 +0300)
committerJuri Linkov <juri@jurta.org>
Tue, 27 Aug 2013 15:57:16 +0000 (18:57 +0300)
to multibyte, thus syncing with its `quoted-insert' counterpart.

Fixes: debbugs:15166
lisp/ChangeLog
lisp/isearch.el

index 60f770b3e0c78fd903d9bdcebe7456ef0cce7f16..822d0eaf17f44b0eb90906592bd68870040861fd 100644 (file)
@@ -1,3 +1,9 @@
+2013-08-27  Juri Linkov  <juri@jurta.org>
+
+       * isearch.el (isearch-quote-char): Comment out converting unibyte
+       to multibyte, thus syncing with its `quoted-insert' counterpart.
+       (Bug#15166)
+
 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
 
        * window.el (display-buffer-use-some-window): Add missing
index 3ff75059b1ade07567daa6b0201ebcccfed2242e..345e7d8b4e96ec07bb6378784baacb87224a704a 100644 (file)
@@ -2430,10 +2430,14 @@ With argument, add COUNT copies of the character."
        (if (subregexp-context-p isearch-string (length isearch-string))
            (isearch-process-search-string "[ ]" " ")
          (isearch-process-search-char char count))
-      (and enable-multibyte-characters
-          (>= char ?\200)
-          (<= char ?\377)
-          (setq char (unibyte-char-to-multibyte char)))
+      ;; This used to assume character codes 0240 - 0377 stand for
+      ;; characters in some single-byte character set, and converted them
+      ;; to Emacs characters.  But in 23.1 this feature is deprecated
+      ;; in favor of inserting the corresponding Unicode characters.
+      ;; (and enable-multibyte-characters
+      ;;      (>= char ?\200)
+      ;;      (<= char ?\377)
+      ;;      (setq char (unibyte-char-to-multibyte char)))
       (isearch-process-search-char char count))))
 
 (defun isearch-printing-char (&optional char count)