changeset 105599:490704d92623

(multi-isearch-next-buffer-from-list) (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
author Juri Linkov <juri@jurta.org>
date Wed, 14 Oct 2009 21:51:42 +0000
parents 8ada01fa272a
children cc9d26f8485b
files lisp/ChangeLog lisp/misearch.el
diffstat 2 files changed, 15 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Oct 14 15:13:44 2009 +0000
+++ b/lisp/ChangeLog	Wed Oct 14 21:51:42 2009 +0000
@@ -1,3 +1,8 @@
+2009-10-14  Juri Linkov  <juri@jurta.org>
+
+	* misearch.el (multi-isearch-next-buffer-from-list)
+	(multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
+
 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* Makefile.in (compile-onefile): Load `bytecomp' rather than
--- a/lisp/misearch.el	Wed Oct 14 15:13:44 2009 +0000
+++ b/lisp/misearch.el	Wed Oct 14 21:51:42 2009 +0000
@@ -213,11 +213,10 @@
 (defvar multi-isearch-buffer-list nil)
 
 (defun multi-isearch-next-buffer-from-list (&optional buffer wrap)
-  "Return the next buffer in the series of ChangeLog file buffers.
-This function is used for multiple buffers isearch.
-A sequence of buffers is formed by ChangeLog files with decreasing
-numeric file name suffixes in the directory of the initial ChangeLog
-file were isearch was started."
+  "Return the next buffer in the series of buffers.
+This function is used for multiple buffers Isearch.  A sequence of
+buffers is defined by the variable `multi-isearch-buffer-list'
+set in `multi-isearch-buffers' or `multi-isearch-buffers-regexp'."
   (let ((buffers (if isearch-forward
 		     multi-isearch-buffer-list
 		   (reverse multi-isearch-buffer-list))))
@@ -251,11 +250,12 @@
 (defvar multi-isearch-file-list nil)
 
 (defun multi-isearch-next-file-buffer-from-list (&optional buffer wrap)
-  "Return the next buffer in the series of ChangeLog file buffers.
-This function is used for multiple buffers isearch.
-A sequence of buffers is formed by ChangeLog files with decreasing
-numeric file name suffixes in the directory of the initial ChangeLog
-file were isearch was started."
+  "Return the next buffer in the series of file buffers.
+This function is used for multiple file buffers Isearch.  A sequence
+of files is defined by the variable `multi-isearch-file-list' set in
+`multi-isearch-files' or `multi-isearch-files-regexp'.
+Every next/previous file in the defined sequence is visited by
+`find-file-noselect' that returns the corresponding file buffer."
   (let ((files (if isearch-forward
 		   multi-isearch-file-list
 		 (reverse multi-isearch-file-list))))