[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Prompt for files with given extensions

From: Robin Neatherway
Subject: Prompt for files with given extensions
Date: Wed, 11 Feb 2015 10:17:50 +0000

I would like my function to prompt only for files with a given
extension. I have a source file, say foo.c, and would like to load the
corresponding test results file, say foo.results. However, if there
are multiple tests for foo.c, then they may have different filenames.

At the moment I use `read-file-name` with `foo.results` as a default,
but I would like to filter the possible completions by file extension.
Is this possible?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]