Reputation: 40718
I was looking for a method to show a list of filenames in a directory, and then select one of them.
I found this:
https://github.com/lawlist/dired-read-file-name and it seemed promising, so I copied it to my emacs
direcory and tried:
(require 'dired-read-file-name)
but I get error
error: Required feature `dired-read-file-name' was not provided
Upvotes: 1
Views: 404
Reputation: 59811
require
is not going to work because the source of dired-read-file-name.el
does not have a provides
expression. You might want to add:
(provide 'dired-read-file-name)
add the end of the file.
Alternatively, you can just load
or more low-level load-file
.
Also have a look at this.
Upvotes: 3