help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs Modular Configuration: the preferable way.


From: Emanuel Berg
Subject: Re: Emacs Modular Configuration: the preferable way.
Date: Tue, 22 Jun 2021 02:11:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis wrote:

> You have many files to load and they are probably in
> different directories

That is evident from the code...

> together with other files which are not to be loaded.

That doesn't matter since every file that is to be loaded is
mentioned explicitly.

> Then instead of having the long list there and updating it
> each time, I would use this:
>
> (mapc 'load-file (directory-files "~/.emacs.d/" t ".el$"))

But then you can't do binary search on a file basis, like
I said, which is a huge advantage, especially if you have
a lot of source.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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