aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2008-11-21 10:12:57 +0000
committerJuanma Barranquero2008-11-21 10:12:57 +0000
commit4b65254d80f365d56f09efcdd7e601863b65bd56 (patch)
treea1997cf25024a2ab6c7cc300a46362ae49bee6bd
parentaf1a5cd5ae1c0e15d84b4b92f3c2fc46d445d9d3 (diff)
downloademacs-4b65254d80f365d56f09efcdd7e601863b65bd56.tar.gz
emacs-4b65254d80f365d56f09efcdd7e601863b65bd56.zip
* isearch.el (isearch-search-string): Doc fix.
(search-exit-option, search-slow-window-lines, search-slow-speed) (search-upper-case, search-nonincremental-instead) (search-whitespace-regexp, search-ring-max, regexp-search-ring-max) (search-ring-update, search-highlight, isearch-lazy-highlight) (lazy-highlight-cleanup, lazy-highlight-initial-delay) (lazy-highlight-interval): Remove * from defcustom docstrings. (isearch-resume-in-command-history, lazy-highlight-max-at-a-time): Remove * from defcustom docstrings; fix typos. (isearch-push-state-function, isearch-help-for-help-internal) (isearch-help-for-help, isearch-describe-bindings) (isearch-describe-mode, minibuffer-local-isearch-map, isearch-mode) (isearch-pop-fun-state, isearch-search-fun-function) (isearch-lazy-highlight-search): Fix typos in docstrings. (isearch-yank-internal, isearch-fallback): Reflow docstrings. (isearch-forward): Fix typo and reflow docstring. (isearch-help-map): Remove unused `i' binding. Fix typos in docstring. (isearch-mode-map): Don't use `let*'.
-rw-r--r--lisp/ChangeLog24
-rw-r--r--lisp/isearch.el110
2 files changed, 77 insertions, 57 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 21cab5fe241..5c053175ee0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,7 +1,27 @@
12008-11-21 Juanma Barranquero <lekktu@gmail.com>
2
3 * isearch.el (isearch-search-string): Doc fix.
4 (search-exit-option, search-slow-window-lines, search-slow-speed)
5 (search-upper-case, search-nonincremental-instead)
6 (search-whitespace-regexp, search-ring-max, regexp-search-ring-max)
7 (search-ring-update, search-highlight, isearch-lazy-highlight)
8 (lazy-highlight-cleanup, lazy-highlight-initial-delay)
9 (lazy-highlight-interval): Remove * from defcustom docstrings.
10 (isearch-resume-in-command-history, lazy-highlight-max-at-a-time):
11 Remove * from defcustom docstrings; fix typos.
12 (isearch-push-state-function, isearch-help-for-help-internal)
13 (isearch-help-for-help, isearch-describe-bindings)
14 (isearch-describe-mode, minibuffer-local-isearch-map, isearch-mode)
15 (isearch-pop-fun-state, isearch-search-fun-function)
16 (isearch-lazy-highlight-search): Fix typos in docstrings.
17 (isearch-yank-internal, isearch-fallback): Reflow docstrings.
18 (isearch-forward): Fix typo and reflow docstring.
19 (isearch-help-map): Remove unused `i' binding. Fix typos in docstring.
20 (isearch-mode-map): Don't use `let*'.
21
12008-11-21 Chong Yidong <cyd@stupidchicken.com> 222008-11-21 Chong Yidong <cyd@stupidchicken.com>
2 23
3 * files.el (confirm-nonexistent-file-or-buffer): Change default to 24 * files.el (confirm-nonexistent-file-or-buffer): Change default to nil.
4 nil.
5 25
62008-11-21 Stefan Monnier <monnier@iro.umontreal.ca> 262008-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7 27
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 0a86834ff12..a8c76ec9620 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -70,12 +70,12 @@
70 70
71 71
72(defcustom search-exit-option t 72(defcustom search-exit-option t
73 "*Non-nil means random control characters terminate incremental search." 73 "Non-nil means random control characters terminate incremental search."
74 :type 'boolean 74 :type 'boolean
75 :group 'isearch) 75 :group 'isearch)
76 76
77(defcustom search-slow-window-lines 1 77(defcustom search-slow-window-lines 1
78 "*Number of lines in slow search display windows. 78 "Number of lines in slow search display windows.
79These are the short windows used during incremental search on slow terminals. 79These are the short windows used during incremental search on slow terminals.
80Negative means put the slow search window at the top (normally it's at bottom) 80Negative means put the slow search window at the top (normally it's at bottom)
81and the value is minus the number of lines." 81and the value is minus the number of lines."
@@ -83,14 +83,14 @@ and the value is minus the number of lines."
83 :group 'isearch) 83 :group 'isearch)
84 84
85(defcustom search-slow-speed 1200 85(defcustom search-slow-speed 1200
86 "*Highest terminal speed at which to use \"slow\" style incremental search. 86 "Highest terminal speed at which to use \"slow\" style incremental search.
87This is the style where a one-line window is created to show the line 87This is the style where a one-line window is created to show the line
88that the search has reached." 88that the search has reached."
89 :type 'integer 89 :type 'integer
90 :group 'isearch) 90 :group 'isearch)
91 91
92(defcustom search-upper-case 'not-yanks 92(defcustom search-upper-case 'not-yanks
93 "*If non-nil, upper case chars disable case fold searching. 93 "If non-nil, upper case chars disable case fold searching.
94That is, upper and lower case chars must match exactly. 94That is, upper and lower case chars must match exactly.
95This applies no matter where the chars come from, but does not 95This applies no matter where the chars come from, but does not
96apply to chars in regexps that are prefixed with `\\'. 96apply to chars in regexps that are prefixed with `\\'.
@@ -102,14 +102,14 @@ in Isearch mode is always downcased."
102 :group 'isearch) 102 :group 'isearch)
103 103
104(defcustom search-nonincremental-instead t 104(defcustom search-nonincremental-instead t
105 "*If non-nil, do a nonincremental search instead if exiting immediately. 105 "If non-nil, do a nonincremental search instead if exiting immediately.
106Actually, `isearch-edit-string' is called to let you enter the search 106Actually, `isearch-edit-string' is called to let you enter the search
107string, and RET terminates editing and does a nonincremental search." 107string, and RET terminates editing and does a nonincremental search."
108 :type 'boolean 108 :type 'boolean
109 :group 'isearch) 109 :group 'isearch)
110 110
111(defcustom search-whitespace-regexp "\\s-+" 111(defcustom search-whitespace-regexp "\\s-+"
112 "*If non-nil, regular expression to match a sequence of whitespace chars. 112 "If non-nil, regular expression to match a sequence of whitespace chars.
113This applies to regular expression incremental search. 113This applies to regular expression incremental search.
114When you put a space or spaces in the incremental regexp, it stands for 114When you put a space or spaces in the incremental regexp, it stands for
115this, unless it is inside of a regexp construct such as [...] or *, + or ?. 115this, unless it is inside of a regexp construct such as [...] or *, + or ?.
@@ -146,8 +146,8 @@ Ordinarily the text becomes invisible again at the end of the search."
146 :group 'isearch) 146 :group 'isearch)
147 147
148(defcustom isearch-resume-in-command-history nil 148(defcustom isearch-resume-in-command-history nil
149 "*If non-nil, `isearch-resume' commands are added to the command history. 149 "If non-nil, `isearch-resume' commands are added to the command history.
150This allows you to resume earlier isearch sessions through the 150This allows you to resume earlier Isearch sessions through the
151command history." 151command history."
152 :type 'boolean 152 :type 'boolean
153 :group 'isearch) 153 :group 'isearch)
@@ -173,7 +173,7 @@ If nil, move point to the beginning of the buffer for a forward search,
173or to the end of the buffer for a backward search.") 173or to the end of the buffer for a backward search.")
174 174
175(defvar isearch-push-state-function nil 175(defvar isearch-push-state-function nil
176 "Function to save a function restoring the mode-specific isearch state 176 "Function to save a function restoring the mode-specific Isearch state
177to the search status stack.") 177to the search status stack.")
178 178
179(defvar isearch-filter-predicate 'isearch-filter-invisible 179(defvar isearch-filter-predicate 'isearch-filter-invisible
@@ -191,11 +191,11 @@ stopping at this match.")
191 "List of regular expression search string sequences.") 191 "List of regular expression search string sequences.")
192 192
193(defcustom search-ring-max 16 193(defcustom search-ring-max 16
194 "*Maximum length of search ring before oldest elements are thrown away." 194 "Maximum length of search ring before oldest elements are thrown away."
195 :type 'integer 195 :type 'integer
196 :group 'isearch) 196 :group 'isearch)
197(defcustom regexp-search-ring-max 16 197(defcustom regexp-search-ring-max 16
198 "*Maximum length of regexp search ring before oldest elements are thrown away." 198 "Maximum length of regexp search ring before oldest elements are thrown away."
199 :type 'integer 199 :type 'integer
200 :group 'isearch) 200 :group 'isearch)
201 201
@@ -207,7 +207,7 @@ It is nil if none yet.")
207It is nil if none yet.") 207It is nil if none yet.")
208 208
209(defcustom search-ring-update nil 209(defcustom search-ring-update nil
210 "*Non-nil if advancing or retreating in the search ring should cause search. 210 "Non-nil if advancing or retreating in the search ring should cause search.
211Default value, nil, means edit the string instead." 211Default value, nil, means edit the string instead."
212 :type 'boolean 212 :type 'boolean
213 :group 'isearch) 213 :group 'isearch)
@@ -215,7 +215,7 @@ Default value, nil, means edit the string instead."
215;;; isearch highlight customization. 215;;; isearch highlight customization.
216 216
217(defcustom search-highlight t 217(defcustom search-highlight t
218 "*Non-nil means incremental search highlights the current match." 218 "Non-nil means incremental search highlights the current match."
219 :type 'boolean 219 :type 'boolean
220 :group 'isearch) 220 :group 'isearch)
221 221
@@ -253,7 +253,7 @@ Default value, nil, means edit the string instead."
253 :group 'isearch) 253 :group 'isearch)
254 254
255(defcustom isearch-lazy-highlight t 255(defcustom isearch-lazy-highlight t
256 "*Controls the lazy-highlighting during incremental search. 256 "Controls the lazy-highlighting during incremental search.
257When non-nil, all text in the buffer matching the current search 257When non-nil, all text in the buffer matching the current search
258string is highlighted lazily (see `lazy-highlight-initial-delay' 258string is highlighted lazily (see `lazy-highlight-initial-delay'
259and `lazy-highlight-interval')." 259and `lazy-highlight-interval')."
@@ -271,7 +271,7 @@ and `lazy-highlight-interval')."
271 :group 'matching) 271 :group 'matching)
272 272
273(defcustom lazy-highlight-cleanup t 273(defcustom lazy-highlight-cleanup t
274 "*Controls whether to remove extra highlighting after a search. 274 "Controls whether to remove extra highlighting after a search.
275If this is nil, extra highlighting can be \"manually\" removed with 275If this is nil, extra highlighting can be \"manually\" removed with
276\\[lazy-highlight-cleanup]." 276\\[lazy-highlight-cleanup]."
277 :type 'boolean 277 :type 'boolean
@@ -281,7 +281,7 @@ If this is nil, extra highlighting can be \"manually\" removed with
281 "22.1") 281 "22.1")
282 282
283(defcustom lazy-highlight-initial-delay 0.25 283(defcustom lazy-highlight-initial-delay 0.25
284 "*Seconds to wait before beginning to lazily highlight all matches." 284 "Seconds to wait before beginning to lazily highlight all matches."
285 :type 'number 285 :type 'number
286 :group 'lazy-highlight) 286 :group 'lazy-highlight)
287(define-obsolete-variable-alias 'isearch-lazy-highlight-initial-delay 287(define-obsolete-variable-alias 'isearch-lazy-highlight-initial-delay
@@ -289,7 +289,7 @@ If this is nil, extra highlighting can be \"manually\" removed with
289 "22.1") 289 "22.1")
290 290
291(defcustom lazy-highlight-interval 0 ; 0.0625 291(defcustom lazy-highlight-interval 0 ; 0.0625
292 "*Seconds between lazily highlighting successive matches." 292 "Seconds between lazily highlighting successive matches."
293 :type 'number 293 :type 'number
294 :group 'lazy-highlight) 294 :group 'lazy-highlight)
295(define-obsolete-variable-alias 'isearch-lazy-highlight-interval 295(define-obsolete-variable-alias 'isearch-lazy-highlight-interval
@@ -297,8 +297,8 @@ If this is nil, extra highlighting can be \"manually\" removed with
297 "22.1") 297 "22.1")
298 298
299(defcustom lazy-highlight-max-at-a-time 20 299(defcustom lazy-highlight-max-at-a-time 20
300 "*Maximum matches to highlight at a time (for `lazy-highlight'). 300 "Maximum matches to highlight at a time (for `lazy-highlight').
301Larger values may reduce isearch's responsiveness to user input; 301Larger values may reduce Isearch's responsiveness to user input;
302smaller values make matches highlight slowly. 302smaller values make matches highlight slowly.
303A value of nil means highlight all matches." 303A value of nil means highlight all matches."
304 :type '(choice (const :tag "All" nil) 304 :type '(choice (const :tag "All" nil)
@@ -330,8 +330,7 @@ A value of nil means highlight all matches."
330;; Define isearch help map. 330;; Define isearch help map.
331 331
332(defvar isearch-help-map 332(defvar isearch-help-map
333 (let ((i 0) 333 (let ((map (make-sparse-keymap)))
334 (map (make-sparse-keymap)))
335 (define-key map [t] 'isearch-other-control-char) 334 (define-key map [t] 'isearch-other-control-char)
336 (define-key map (char-to-string help-char) 'isearch-help-for-help) 335 (define-key map (char-to-string help-char) 'isearch-help-for-help)
337 (define-key map [help] 'isearch-help-for-help) 336 (define-key map [help] 'isearch-help-for-help)
@@ -342,7 +341,7 @@ A value of nil means highlight all matches."
342 (define-key map "m" 'isearch-describe-mode) 341 (define-key map "m" 'isearch-describe-mode)
343 (define-key map "q" 'help-quit) 342 (define-key map "q" 'help-quit)
344 map) 343 map)
345 "Keymap for characters following the Help key for isearch mode.") 344 "Keymap for characters following the Help key for Isearch mode.")
346 345
347(eval-when-compile (require 'help-macro)) 346(eval-when-compile (require 'help-macro))
348 347
@@ -351,25 +350,25 @@ A value of nil means highlight all matches."
351 "You have typed %THIS-KEY%, the help character. Type a Help option: 350 "You have typed %THIS-KEY%, the help character. Type a Help option:
352\(Type \\<help-map>\\[help-quit] to exit the Help command.) 351\(Type \\<help-map>\\[help-quit] to exit the Help command.)
353 352
354b Display all isearch key bindings. 353b Display all Isearch key bindings.
355k KEYS Display full documentation of isearch key sequence. 354k KEYS Display full documentation of Isearch key sequence.
356m Display documentation of isearch mode. 355m Display documentation of Isearch mode.
357 356
358You can't type here other help keys available in the global help map, 357You can't type here other help keys available in the global help map,
359but outise of this help window when you type them in isearch mode, 358but outside of this help window when you type them in Isearch mode,
360they exit isearch mode before displaying global help." 359they exit Isearch mode before displaying global help."
361 isearch-help-map) 360 isearch-help-map)
362 361
363(defun isearch-help-for-help () 362(defun isearch-help-for-help ()
364 "Display isearch help menu." 363 "Display Isearch help menu."
365 (interactive) 364 (interactive)
366 (let (same-window-buffer-names same-window-regexps) 365 (let (same-window-buffer-names same-window-regexps)
367 (isearch-help-for-help-internal)) 366 (isearch-help-for-help-internal))
368 (isearch-update)) 367 (isearch-update))
369 368
370(defun isearch-describe-bindings () 369(defun isearch-describe-bindings ()
371 "Show a list of all keys defined in isearch mode, and their definitions. 370 "Show a list of all keys defined in Isearch mode, and their definitions.
372This is like `describe-bindings', but displays only isearch keys." 371This is like `describe-bindings', but displays only Isearch keys."
373 (interactive) 372 (interactive)
374 (let (same-window-buffer-names same-window-regexps) 373 (let (same-window-buffer-names same-window-regexps)
375 (with-help-window "*Help*" 374 (with-help-window "*Help*"
@@ -385,7 +384,7 @@ This is like `describe-bindings', but displays only isearch keys."
385 (isearch-update)) 384 (isearch-update))
386 385
387(defun isearch-describe-mode () 386(defun isearch-describe-mode ()
388 "Display documentation of isearch mode." 387 "Display documentation of Isearch mode."
389 (interactive) 388 (interactive)
390 (let (same-window-buffer-names same-window-regexps) 389 (let (same-window-buffer-names same-window-regexps)
391 (describe-function 'isearch-forward)) 390 (describe-function 'isearch-forward))
@@ -397,8 +396,8 @@ This is like `describe-bindings', but displays only isearch keys."
397;; Define isearch-mode keymap. 396;; Define isearch-mode keymap.
398 397
399(defvar isearch-mode-map 398(defvar isearch-mode-map
400 (let* ((i 0) 399 (let ((i 0)
401 (map (make-keymap))) 400 (map (make-keymap)))
402 (or (char-table-p (nth 1 map)) 401 (or (char-table-p (nth 1 map))
403 (error "The initialization of isearch-mode-map must be updated")) 402 (error "The initialization of isearch-mode-map must be updated"))
404 ;; Make all multibyte characters search for themselves. 403 ;; Make all multibyte characters search for themselves.
@@ -514,7 +513,7 @@ This is like `describe-bindings', but displays only isearch keys."
514 (define-key map "\C-f" 'isearch-yank-char-in-minibuffer) 513 (define-key map "\C-f" 'isearch-yank-char-in-minibuffer)
515 (define-key map [right] 'isearch-yank-char-in-minibuffer) 514 (define-key map [right] 'isearch-yank-char-in-minibuffer)
516 map) 515 map)
517 "Keymap for editing isearch strings in the minibuffer.") 516 "Keymap for editing Isearch strings in the minibuffer.")
518 517
519;; Internal variables declared globally for byte-compiler. 518;; Internal variables declared globally for byte-compiler.
520;; These are all set with setq while isearching 519;; These are all set with setq while isearching
@@ -659,18 +658,19 @@ Type \\[isearch-occur] to run `occur' that shows\
659Type \\[isearch-highlight-regexp] to run `highlight-regexp'\ 658Type \\[isearch-highlight-regexp] to run `highlight-regexp'\
660 that highlights the last search string. 659 that highlights the last search string.
661 660
662Type \\[isearch-describe-bindings] to display all isearch key bindings. 661Type \\[isearch-describe-bindings] to display all Isearch key bindings.
663Type \\[isearch-describe-key] to display documentation of isearch key. 662Type \\[isearch-describe-key] to display documentation of Isearch key.
664Type \\[isearch-describe-mode] to display documentation of isearch mode. 663Type \\[isearch-describe-mode] to display documentation of Isearch mode.
665 664
666If an input method is turned on in the current buffer, that input 665If an input method is turned on in the current buffer, that input
667method is also active while you are typing characters to search. To 666method is also active while you are typing characters to search.
668toggle the input method, type \\[isearch-toggle-input-method]. It 667To toggle the input method, type \\[isearch-toggle-input-method]. \
669also toggles the input method in the current buffer. 668It also toggles the input
669method in the current buffer.
670 670
671To use a different input method for searching, type 671To use a different input method for searching, type \
672\\[isearch-toggle-specified-input-method], and specify an input method 672\\[isearch-toggle-specified-input-method],
673you want to use. 673and specify an input method you want to use.
674 674
675The above keys, bound in `isearch-mode-map', are often controlled by 675The above keys, bound in `isearch-mode-map', are often controlled by
676 options; do \\[apropos] on search-.* to find them. 676 options; do \\[apropos] on search-.* to find them.
@@ -736,7 +736,7 @@ as a regexp. See the command `isearch-forward' for more information."
736 736
737 737
738(defun isearch-mode (forward &optional regexp op-fun recursive-edit word-p) 738(defun isearch-mode (forward &optional regexp op-fun recursive-edit word-p)
739 "Start isearch minor mode. 739 "Start Isearch minor mode.
740It is called by the function `isearch-forward' and other related functions." 740It is called by the function `isearch-forward' and other related functions."
741 741
742 ;; Initialize global vars. 742 ;; Initialize global vars.
@@ -994,7 +994,7 @@ REGEXP if non-nil says use the regexp search ring."
994 "Return the case-folding flag in FRAME." 994 "Return the case-folding flag in FRAME."
995 (aref frame 10)) 995 (aref frame 10))
996(defsubst isearch-pop-fun-state (frame) 996(defsubst isearch-pop-fun-state (frame)
997 "Return the function restoring the mode-specific isearch state in FRAME." 997 "Return the function restoring the mode-specific Isearch state in FRAME."
998 (aref frame 11)) 998 (aref frame 11))
999 999
1000(defun isearch-top-state () 1000(defun isearch-top-state ()
@@ -1512,10 +1512,10 @@ is bound to outside of Isearch."
1512 1512
1513(defun isearch-yank-internal (jumpform) 1513(defun isearch-yank-internal (jumpform)
1514 "Pull the text from point to the point reached by JUMPFORM. 1514 "Pull the text from point to the point reached by JUMPFORM.
1515JUMPFORM is a lambda expression that takes no arguments and returns a 1515JUMPFORM is a lambda expression that takes no arguments and returns
1516buffer position, possibly having moved point to that position. For 1516a buffer position, possibly having moved point to that position.
1517example, it might move point forward by a word and return point, or it 1517For example, it might move point forward by a word and return point,
1518might return the position of the end of the line." 1518or it might return the position of the end of the line."
1519 (isearch-yank-string 1519 (isearch-yank-string
1520 (save-excursion 1520 (save-excursion
1521 (and (not isearch-forward) isearch-other-end 1521 (and (not isearch-forward) isearch-other-end
@@ -1619,7 +1619,7 @@ might return the position of the end of the line."
1619(defun isearch-fallback (want-backslash &optional allow-invalid to-barrier) 1619(defun isearch-fallback (want-backslash &optional allow-invalid to-barrier)
1620 "Return point to previous successful match to allow regexp liberalization. 1620 "Return point to previous successful match to allow regexp liberalization.
1621\\<isearch-mode-map> 1621\\<isearch-mode-map>
1622Respects \\[isearch-repeat-forward] and \\[isearch-repeat-backward] by 1622Respects \\[isearch-repeat-forward] and \\[isearch-repeat-backward] by \
1623stopping at `isearch-barrier' as needed. 1623stopping at `isearch-barrier' as needed.
1624 1624
1625Do nothing if a backslash is escaping the liberalizing character. 1625Do nothing if a backslash is escaping the liberalizing character.
@@ -2189,7 +2189,7 @@ If there is no completion possible, say so and continue searching."
2189 2189
2190(defvar isearch-search-fun-function nil 2190(defvar isearch-search-fun-function nil
2191 "Override `isearch-search-fun'. 2191 "Override `isearch-search-fun'.
2192This function should return the search function for isearch to use. 2192This function should return the search function for Isearch to use.
2193It will call this function with three arguments 2193It will call this function with three arguments
2194as if it were `search-forward'.") 2194as if it were `search-forward'.")
2195 2195
@@ -2212,9 +2212,9 @@ Can be changed via `isearch-search-fun-function' for special needs."
2212 (if isearch-forward 'search-forward 'search-backward))))) 2212 (if isearch-forward 'search-forward 'search-backward)))))
2213 2213
2214(defun isearch-search-string (string bound noerror) 2214(defun isearch-search-string (string bound noerror)
2215 "Search for the first occurance of STRING or its translation. If 2215 "Search for the first occurrence of STRING or its translation.
2216found, move point to the end of the occurance, update 2216If found, move point to the end of the occurrence,
2217isearch-match-beg and isearch-match-end, and return point." 2217update the match data, and return point."
2218 (let* ((func (isearch-search-fun)) 2218 (let* ((func (isearch-search-fun))
2219 (pos1 (save-excursion (funcall func string bound noerror))) 2219 (pos1 (save-excursion (funcall func string bound noerror)))
2220 pos2) 2220 pos2)
@@ -2623,7 +2623,7 @@ by other Emacs features."
2623 2623
2624(defun isearch-lazy-highlight-search () 2624(defun isearch-lazy-highlight-search ()
2625 "Search ahead for the next or previous match, for lazy highlighting. 2625 "Search ahead for the next or previous match, for lazy highlighting.
2626Attempt to do the search exactly the way the pending isearch would." 2626Attempt to do the search exactly the way the pending Isearch would."
2627 (condition-case nil 2627 (condition-case nil
2628 (let ((case-fold-search isearch-lazy-highlight-case-fold-search) 2628 (let ((case-fold-search isearch-lazy-highlight-case-fold-search)
2629 (isearch-regexp isearch-lazy-highlight-regexp) 2629 (isearch-regexp isearch-lazy-highlight-regexp)