diff options
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/misearch.el | 20 |
2 files changed, 15 insertions, 10 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dcf19f1f10b..836191556b2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 diff --git a/lisp/misearch.el b/lisp/misearch.el index 9ba6d5a565e..c2a5b344c69 100644 --- a/lisp/misearch.el +++ b/lisp/misearch.el @@ -213,11 +213,10 @@ Switch to the buffer restored from the search status stack." (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 @@ file were isearch was started." (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)))) |