diff options
| author | Juri Linkov | 2009-10-14 21:51:42 +0000 |
|---|---|---|
| committer | Juri Linkov | 2009-10-14 21:51:42 +0000 |
| commit | 92f8bfc77b3607ab4fd8e21188ac5469122964c4 (patch) | |
| tree | 9ee7ef2453280f5939cea59fc7f0138aed625dc6 | |
| parent | 384ca163b3d31b678e243f0acb149a4fa9534db7 (diff) | |
| download | emacs-92f8bfc77b3607ab4fd8e21188ac5469122964c4.tar.gz emacs-92f8bfc77b3607ab4fd8e21188ac5469122964c4.zip | |
(multi-isearch-next-buffer-from-list)
(multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
| -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 @@ | |||
| 1 | 2009-10-14 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * misearch.el (multi-isearch-next-buffer-from-list) | ||
| 4 | (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723) | ||
| 5 | |||
| 1 | 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * Makefile.in (compile-onefile): Load `bytecomp' rather than | 8 | * 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." | |||
| 213 | (defvar multi-isearch-buffer-list nil) | 213 | (defvar multi-isearch-buffer-list nil) |
| 214 | 214 | ||
| 215 | (defun multi-isearch-next-buffer-from-list (&optional buffer wrap) | 215 | (defun multi-isearch-next-buffer-from-list (&optional buffer wrap) |
| 216 | "Return the next buffer in the series of ChangeLog file buffers. | 216 | "Return the next buffer in the series of buffers. |
| 217 | This function is used for multiple buffers isearch. | 217 | This function is used for multiple buffers Isearch. A sequence of |
| 218 | A sequence of buffers is formed by ChangeLog files with decreasing | 218 | buffers is defined by the variable `multi-isearch-buffer-list' |
| 219 | numeric file name suffixes in the directory of the initial ChangeLog | 219 | set in `multi-isearch-buffers' or `multi-isearch-buffers-regexp'." |
| 220 | file were isearch was started." | ||
| 221 | (let ((buffers (if isearch-forward | 220 | (let ((buffers (if isearch-forward |
| 222 | multi-isearch-buffer-list | 221 | multi-isearch-buffer-list |
| 223 | (reverse multi-isearch-buffer-list)))) | 222 | (reverse multi-isearch-buffer-list)))) |
| @@ -251,11 +250,12 @@ file were isearch was started." | |||
| 251 | (defvar multi-isearch-file-list nil) | 250 | (defvar multi-isearch-file-list nil) |
| 252 | 251 | ||
| 253 | (defun multi-isearch-next-file-buffer-from-list (&optional buffer wrap) | 252 | (defun multi-isearch-next-file-buffer-from-list (&optional buffer wrap) |
| 254 | "Return the next buffer in the series of ChangeLog file buffers. | 253 | "Return the next buffer in the series of file buffers. |
| 255 | This function is used for multiple buffers isearch. | 254 | This function is used for multiple file buffers Isearch. A sequence |
| 256 | A sequence of buffers is formed by ChangeLog files with decreasing | 255 | of files is defined by the variable `multi-isearch-file-list' set in |
| 257 | numeric file name suffixes in the directory of the initial ChangeLog | 256 | `multi-isearch-files' or `multi-isearch-files-regexp'. |
| 258 | file were isearch was started." | 257 | Every next/previous file in the defined sequence is visited by |
| 258 | `find-file-noselect' that returns the corresponding file buffer." | ||
| 259 | (let ((files (if isearch-forward | 259 | (let ((files (if isearch-forward |
| 260 | multi-isearch-file-list | 260 | multi-isearch-file-list |
| 261 | (reverse multi-isearch-file-list)))) | 261 | (reverse multi-isearch-file-list)))) |