NextPrevUpTopContentsIndex

search-files

Function

Summary

Search all the files in a list for a string.

Package

editor

Signature

search-files &key string files generator => nil

Arguments

string

A string to search for (prompted if not given)

files

A list of pathnames of files to search

generator

A function to generate the files if none are given

Values

search-files returns nil .

Description

search-files searches all the files in the list for a given string. If a match is found the file is loaded into a buffer with the cursor on the occurrence. Alt+-, makes the search continue until the next occurrence.

Example

CL-USER 91 > (editor:search-files 
                          :files '(".login" ".cshrc") 
                          :string "alias")

LispWorks Editor User Guide (Windows version) - 23 Feb 2006

NextPrevUpTopContentsIndex