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

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

Re: Try to modularize the configuration of Emacs.


From: Emanuel Berg
Subject: Re: Try to modularize the configuration of Emacs.
Date: Tue, 13 Jul 2021 14:34:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hongyi Zhao wrote:

> I'm currently trying to modularize my configuration of Emacs
> according to the poplular doo-emacs's layout, say, for
> different languages, with the following file tree structure:
>
> ~/.emacs.d/modules/lang/latex
> ~/.emacs.d/modules/lang/python
> [...]
>
> In my `~/.emacs.d/init.el', I want to load/apply the
> corresponding language's configuration when I open the
> specific source file in Emacs. How to achieve this purpose?

Compile, `push' the paths onto `load-path', then `load-file'
the .elc files.

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




reply via email to

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