[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/isearch-multi.el,v
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/isearch-multi.el,v |
Date: |
Fri, 26 Oct 2007 09:54:20 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Richard M. Stallman <rms> 07/10/26 09:54:19
Index: isearch-multi.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/isearch-multi.el,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- isearch-multi.el 24 Oct 2007 02:15:10 -0000 1.2
+++ isearch-multi.el 26 Oct 2007 09:54:19 -0000 1.3
@@ -37,6 +37,12 @@
:version "23.1"
:group 'isearch)
+(defcustom isearch-buffers-multi t
+ "Non-nil enables searching multiple related buffers, in certain modes."
+ :type 'boolean
+ :version "23.1"
+ :group 'isearch-buffers)
+
(defcustom isearch-buffers-pause t
"A choice defining where to pause the search.
If the value is nil, don't pause before going to the next buffer.
@@ -121,7 +127,7 @@
;; successively, and search the string in them. Do this only
;; when bound is nil (i.e. not while lazy-highlighting search
;; strings in the current buffer).
- (unless bound
+ (when (and (not bound) isearch-buffers-multi)
;; If no-pause or there was one attempt to leave the current buffer
(if (or (null isearch-buffers-pause)
(and isearch-buffers-pause isearch-buffers-current-buffer))