annotate lisp/international/isearch-x.el @ 108635:e565448628b8

Set rallocobj with configure, not cpp. * configure.in (REL_ALLOC): Unset on gnu, gnu-linux if DOUG_LEA_MALLOC. (RALLOC_OBJ): New output variable. * config.bat (RALLOC_OBJ): Edit to empty if sys_malloc. * src/Makefile.in (RALLOC_OBJ): New, set by configure. (rallocobj): Replace with the previous variable. (otherobj): Use $RALLOC_OBJ. * src/s/gnu.h (REL_ALLOC) [DOUG_LEA_MALLOC]: * src/s/gnu-linux.h (REL_ALLOC) [DOUG_LEA_MALLOC]: Move undef to configure. * msdos/sed1v2.inp (RALLOC_OBJ): Edit to ralloc.o.
author Glenn Morris <rgm@gnu.org>
date Mon, 17 May 2010 19:44:07 -0700
parents 1d1d5d9bd884
children 376148b31b5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
1 ;;; isearch-x.el --- extended isearch handling commands
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 106254
diff changeset
3 ;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
74544
43cc94d955c2 Update copyright years.
Glenn Morris <rgm@gnu.org>
parents: 64437
diff changeset
4 ;; Free Software Foundation, Inc.
74605
6ee41fdd69ff Update AIST copyright years.
Kenichi Handa <handa@m17n.org>
parents: 74544
diff changeset
5 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 106254
diff changeset
6 ;; 2005, 2006, 2007, 2008, 2009, 2010
62274
c36561fe0657 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 58912
diff changeset
7 ;; National Institute of Advanced Industrial Science and Technology (AIST)
c36561fe0657 Fix copyrights.
Kenichi Handa <handa@m17n.org>
parents: 58912
diff changeset
8 ;; Registration Number H14PRO021
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
9
106254
1e9b4f1f79c1 * international/isearch-x.el, international/ja-dic-cnv.el,
Kevin Ryde <user42@zip.com.au>
parents: 100908
diff changeset
10 ;; Keywords: i18n, multilingual, isearch
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
11
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12 ;; Author: Kenichi HANDA <handa@etl.go.jp>
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 ;; Maintainer: Kenichi HANDA <handa@etl.go.jp>
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
14
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
15 ;; This file is part of GNU Emacs.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
16
94664
889bc336b89b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
17 ;; GNU Emacs is free software: you can redistribute it and/or modify
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
18 ;; it under the terms of the GNU General Public License as published by
94664
889bc336b89b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
19 ;; the Free Software Foundation, either version 3 of the License, or
889bc336b89b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
20 ;; (at your option) any later version.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
21
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
22 ;; GNU Emacs is distributed in the hope that it will be useful,
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
23 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
24 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
25 ;; GNU General Public License for more details.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
26
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
27 ;; You should have received a copy of the GNU General Public License
94664
889bc336b89b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
28 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
29
38436
b174db545cfd Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 32798
diff changeset
30 ;;; Commentary:
b174db545cfd Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 32798
diff changeset
31
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
32 ;;; Code:
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
33
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
34 ;;;###autoload
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
35 (defun isearch-toggle-specified-input-method ()
18713
bca5a6b78f91 (isearch-input-method): New variable.
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
36 "Select an input method and turn it on in interactive search."
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
37 (interactive)
19407
50444ccff3f2 (isearch-input-method): Deleted.
Kenichi Handa <handa@m17n.org>
parents: 19390
diff changeset
38 (let ((overriding-terminal-local-map nil))
50444ccff3f2 (isearch-input-method): Deleted.
Kenichi Handa <handa@m17n.org>
parents: 19390
diff changeset
39 (toggle-input-method t))
22780
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
40 (setq isearch-input-method-function input-method-function
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
41 isearch-input-method-local-p t)
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
42 (setq input-method-function nil)
19407
50444ccff3f2 (isearch-input-method): Deleted.
Kenichi Handa <handa@m17n.org>
parents: 19390
diff changeset
43 (isearch-update))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
44
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
45 ;;;###autoload
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
46 (defun isearch-toggle-input-method ()
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
47 "Toggle input method in interactive search."
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
48 (interactive)
19407
50444ccff3f2 (isearch-input-method): Deleted.
Kenichi Handa <handa@m17n.org>
parents: 19390
diff changeset
49 (let ((overriding-terminal-local-map nil))
50444ccff3f2 (isearch-input-method): Deleted.
Kenichi Handa <handa@m17n.org>
parents: 19390
diff changeset
50 (toggle-input-method))
22780
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
51 (setq isearch-input-method-function input-method-function
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
52 isearch-input-method-local-p t)
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
53 (setq input-method-function nil)
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
54 (isearch-update))
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
55
22780
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
56 (defvar isearch-minibuffer-local-map
29327
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
57 (let ((map (copy-keymap minibuffer-local-map)))
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
58 (define-key map [with-keyboard-coding] 'isearch-with-keyboard-coding)
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
59 (define-key map [with-input-method] 'isearch-with-input-method)
22780
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
60 map)
29327
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
61 "Keymap to use in minibuffer for multibyte character inputting in isearch.")
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
62
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
63 ;; Exit from recursive edit safely. Set in `after-change-functions'
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
64 ;; by isearch-with-keyboard-coding.
39090
2fd8ebeef411 (isearch-exit-recursive-edit): Take
Gerd Moellmann <gerd@gnu.org>
parents: 38436
diff changeset
65 (defun isearch-exit-recursive-edit (start end length)
22780
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
66 (interactive)
29327
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
67 (throw 'exit nil))
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
68
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
69 ;; Simulate character decoding by the keyboard coding system in the
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
70 ;; current buffer (minibuffer). As soon as a character is inserted,
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
71 ;; it exits from minibuffer.
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
72
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
73 (defun isearch-with-keyboard-coding ()
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
74 (interactive)
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
75 (let ((after-change-functions '(isearch-exit-recursive-edit)))
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
76 (recursive-edit))
22780
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
77 (exit-minibuffer))
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
78
29327
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
79 ;; Simulate the work of the current input method in the current buffer
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
80 ;; (minibuffer).
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
81
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
82 (defun isearch-with-input-method ()
22780
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
83 (interactive)
32798
6d04a7aba075 (isearch-with-input-method): Call input-method-function with the first
Kenichi Handa <handa@m17n.org>
parents: 29719
diff changeset
84 (let ((key (car unread-command-events))
6d04a7aba075 (isearch-with-input-method): Call input-method-function with the first
Kenichi Handa <handa@m17n.org>
parents: 29719
diff changeset
85 events)
6d04a7aba075 (isearch-with-input-method): Call input-method-function with the first
Kenichi Handa <handa@m17n.org>
parents: 29719
diff changeset
86 (setq unread-command-events (cdr unread-command-events)
6d04a7aba075 (isearch-with-input-method): Call input-method-function with the first
Kenichi Handa <handa@m17n.org>
parents: 29719
diff changeset
87 events (funcall input-method-function key))
29327
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
88 ;; EVENTS is a list of events the input method has generated. It
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
89 ;; contains a character event and/or the special event
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
90 ;; `compose-last-chars'. We extract only character events and
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
91 ;; insert the corresponding characters.
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
92 (while events
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
93 (if (integerp (car events)) (insert (car events)))
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
94 (setq events (cdr events)))
22920
f80a1ca0112f (isearch-minibuffer-local-map): Bind
Kenichi Handa <handa@m17n.org>
parents: 22803
diff changeset
95 (exit-minibuffer)))
22780
54069d469c31 (isearch-toggle-specified-input-method): Adjusted for the change
Kenichi Handa <handa@m17n.org>
parents: 19433
diff changeset
96
19407
50444ccff3f2 (isearch-input-method): Deleted.
Kenichi Handa <handa@m17n.org>
parents: 19390
diff changeset
97 ;;;###autoload
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
98 (defun isearch-process-search-multibyte-characters (last-char)
22803
c52637c83ebf (isearch-minibuffer-self-insert):
Kenichi Handa <handa@m17n.org>
parents: 22780
diff changeset
99 (if (eq this-command 'isearch-printing-char)
c52637c83ebf (isearch-minibuffer-self-insert):
Kenichi Handa <handa@m17n.org>
parents: 22780
diff changeset
100 (let ((overriding-terminal-local-map nil)
64437
9a14f5181afd (isearch-process-search-multibyte-characters): Remove unneeded `concat'.
Juri Linkov <juri@jurta.org>
parents: 64085
diff changeset
101 (prompt (isearch-message-prefix))
22803
c52637c83ebf (isearch-minibuffer-self-insert):
Kenichi Handa <handa@m17n.org>
parents: 22780
diff changeset
102 (minibuffer-local-map isearch-minibuffer-local-map)
64437
9a14f5181afd (isearch-process-search-multibyte-characters): Remove unneeded `concat'.
Juri Linkov <juri@jurta.org>
parents: 64085
diff changeset
103 str junk-hist)
76379
67cd2867fe17 Fix read-only prompt problem in isearch
Miles Bader <miles@gnu.org>
parents: 75347
diff changeset
104
67cd2867fe17 Fix read-only prompt problem in isearch
Miles Bader <miles@gnu.org>
parents: 75347
diff changeset
105 ;; PROMPT contains text-properties from
67cd2867fe17 Fix read-only prompt problem in isearch
Miles Bader <miles@gnu.org>
parents: 75347
diff changeset
106 ;; `minibuffer-prompt-properties', and some of these can screw up
67cd2867fe17 Fix read-only prompt problem in isearch
Miles Bader <miles@gnu.org>
parents: 75347
diff changeset
107 ;; its use in `read-string' below (specifically, a read-only
67cd2867fe17 Fix read-only prompt problem in isearch
Miles Bader <miles@gnu.org>
parents: 75347
diff changeset
108 ;; property will cause it to signal an error), so strip them here;
67cd2867fe17 Fix read-only prompt problem in isearch
Miles Bader <miles@gnu.org>
parents: 75347
diff changeset
109 ;; read-string will add the same properties itself anyway.
67cd2867fe17 Fix read-only prompt problem in isearch
Miles Bader <miles@gnu.org>
parents: 75347
diff changeset
110 ;;
67cd2867fe17 Fix read-only prompt problem in isearch
Miles Bader <miles@gnu.org>
parents: 75347
diff changeset
111 (set-text-properties 0 (length prompt) nil prompt)
67cd2867fe17 Fix read-only prompt problem in isearch
Miles Bader <miles@gnu.org>
parents: 75347
diff changeset
112
29327
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
113 (if isearch-input-method-function
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
114 (let (;; Let input method work rather tersely.
29719
bec7534ceb14 (isearch-minibuffer-input-method)
Kenichi Handa <handa@m17n.org>
parents: 29327
diff changeset
115 (input-method-verbose-flag nil))
29327
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
116 (setq unread-command-events
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
117 (cons 'with-input-method
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
118 (cons last-char unread-command-events))
29719
bec7534ceb14 (isearch-minibuffer-input-method)
Kenichi Handa <handa@m17n.org>
parents: 29327
diff changeset
119 ;; Inherit current-input-method in a minibuffer.
64437
9a14f5181afd (isearch-process-search-multibyte-characters): Remove unneeded `concat'.
Juri Linkov <juri@jurta.org>
parents: 64085
diff changeset
120 str (read-string prompt isearch-message 'junk-hist nil t))
9a14f5181afd (isearch-process-search-multibyte-characters): Remove unneeded `concat'.
Juri Linkov <juri@jurta.org>
parents: 64085
diff changeset
121 (if (or (not str) (< (length str) (length isearch-message)))
29327
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
122 ;; All inputs were deleted while the input method
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
123 ;; was working.
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
124 (setq str "")
58912
f0538bd79bc1 (isearch-process-search-multibyte-characters):
Juri Linkov <juri@jurta.org>
parents: 52401
diff changeset
125 (setq str (substring str (length isearch-message)))
29327
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
126 (if (and (= (length str) 1)
29719
bec7534ceb14 (isearch-minibuffer-input-method)
Kenichi Handa <handa@m17n.org>
parents: 29327
diff changeset
127 (= (aref str 0) last-char)
bec7534ceb14 (isearch-minibuffer-input-method)
Kenichi Handa <handa@m17n.org>
parents: 29327
diff changeset
128 (>= last-char 128))
29327
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
129 ;; The input method couldn't handle LAST-CHAR.
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
130 (setq str nil)))))
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
131
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
132 (if (and (not str) (keyboard-coding-system))
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
133 (setq unread-command-events
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
134 (cons 'with-keyboard-coding
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
135 (cons last-char unread-command-events))
64437
9a14f5181afd (isearch-process-search-multibyte-characters): Remove unneeded `concat'.
Juri Linkov <juri@jurta.org>
parents: 64085
diff changeset
136 str (read-string prompt nil 'junk-hist)))
29327
18bfc4113440 Mostly re-written.
Kenichi Handa <handa@m17n.org>
parents: 22931
diff changeset
137
22803
c52637c83ebf (isearch-minibuffer-self-insert):
Kenichi Handa <handa@m17n.org>
parents: 22780
diff changeset
138 (if (and str (> (length str) 0))
22931
fad48aef2340 (isearch-process-search-multibyte-characters): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 22920
diff changeset
139 (let ((unread-command-events nil))
fad48aef2340 (isearch-process-search-multibyte-characters): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 22920
diff changeset
140 (isearch-process-search-string str str))
fad48aef2340 (isearch-process-search-multibyte-characters): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 22920
diff changeset
141 (isearch-update)))
22803
c52637c83ebf (isearch-minibuffer-self-insert):
Kenichi Handa <handa@m17n.org>
parents: 22780
diff changeset
142 (isearch-process-search-char last-char)))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
143
93975
1e3a407766b9 Fix up comment convention on the arch-tag lines.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 79709
diff changeset
144 ;; arch-tag: 1a90a6cf-2cb2-477a-814a-9ff895852822
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
145 ;;; isearch-x.el ends here