emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/isearch.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/isearch.el
Date: Mon, 06 Dec 2004 10:35:21 -0500

Index: emacs/lisp/isearch.el
diff -c emacs/lisp/isearch.el:1.243 emacs/lisp/isearch.el:1.244
*** emacs/lisp/isearch.el:1.243 Fri Dec  3 00:27:11 2004
--- emacs/lisp/isearch.el       Mon Dec  6 15:12:08 2004
***************
*** 1682,1694 ****
      ;; 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 "[ ]" " "))
        (and enable-multibyte-characters
           (>= char ?\200)
           (<= char ?\377)
--- 1682,1690 ----
      ;; single-byte character set, and convert them to Emacs
      ;; characters.
      (if (and isearch-regexp (= char ?\ ))
!       (if (subregexp-context-p isearch-string pos)
!           (isearch-process-search-string "[ ]" " ")
!         (isearch-process-search-char char))
        (and enable-multibyte-characters
           (>= char ?\200)
           (<= char ?\377)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]