File: fileloop.el.html
Support functions for operations like search or query&replace applied to several files. This code was largely inspired&extracted from an earlier version of etags.el.
TODO:
- Maybe it would make sense to replace the fileloop--* vars with a single
global var holding a struct, and then stash those structs into a history
of past operations, so you can perform a fileloop-search while in the
middle of a fileloop-replace and later go back to that
fileloop-replace.
- Make multi-isearch work on top of this library (might require changes
to this library, of course).
Defined variables (1)
fileloop-revert-buffers | Whether to revert files during fileloop operation. |
Defined functions (7)
fileloop--case-fold | (REGEXP CASE-FOLD) |
fileloop--list-to-iterator | (LIST) |
fileloop-continue | () |
fileloop-initialize | (FILES SCAN-FUNCTION OPERATE-FUNCTION) |
fileloop-initialize-replace | (FROM TO FILES CASE-FOLD &optional DELIMITED) |
fileloop-initialize-search | (REGEXP FILES CASE-FOLD) |
fileloop-next-file | (&optional NOVISIT) |