(isearch-buffers-search-fun): Test it.
\f
* New Modes and Packages in Emacs 23.1
-** The package isearch-multi.el has been added. It implements a new mode
-`isearch-buffers-minor-mode' that allows isearch to search through
-multiple buffers. In this mode a new variable
-`isearch-buffers-next-buffer-function' defines the function to call
-to get the next buffer to search in the series of multiple buffers.
-
** The package doc-view.el has been added. It supports viewing of PDF,
PostScript and DVI documents inside an Emacs buffer by converting the
document to a set of PNG images first. One can also search for a
then another C-s tries searching the previous ChangeLog,
if there is one (e.g. go from ChangeLog to ChangeLog.12).
+This is enabled if isearch-buffers-multi is non-nil.
+
+++
** In Dired-x, all command guesses for ! are now added to the default
list accessible by M-n instead of pushing all guesses temporarily into
\f
* New Packages for Lisp Programming in Emacs 23.1
+** The package isearch-multi.el has been added. It implements a new mode
+`isearch-buffers-minor-mode' that allows isearch to search through
+multiple buffers. In this mode a new variable
+`isearch-buffers-next-buffer-function' defines the function to call
+to get the next buffer to search in the series of multiple buffers.
+
** The new package avl-tree.el deals with the AVL tree data structure.
\f
+2007-10-26 Richard Stallman <rms@gnu.org>
+
+ * isearch-multi.el (isearch-buffers-multi): New option.
+ (isearch-buffers-search-fun): Test it.
+
+ * progmodes/ps-mode.el (ps-mode-map): Delete C-c v binding.
+ Put ps-run-clear on C-c C-l.
+
+ * newcomment.el (comment-styles): New style indent-or-triple.
+ (comment-style): Make that the default.
+ (comment-add defvar): Doc fix.
+ (comment-add): Delete arg EXTRA.
+ (comment-region-default): Open code call to comment-add.
+ Handle indent-or-triple style which uses `multi-char' for INDENT.
+
2007-10-26 Juanma Barranquero <lekktu@gmail.com>
* eshell/em-unix.el (nil-blank-string): Doc fix.
: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.
;; 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))