Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

.el files in the userdir are being put in the load-path #126

Closed
ghost opened this issue Feb 2, 2012 · 3 comments
Closed

.el files in the userdir are being put in the load-path #126

ghost opened this issue Feb 2, 2012 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 2, 2012

The .el files in ~/.emacs.d// are automatically loaded at the startup.
Is there any use of also putting them in the load-path?

For example, the file tex.el would "win" over the AuCTeX-mode's tex.el and break the TeX support.

@DarwinAwardWinner
Copy link
Contributor

The main use would probably be easily reloading them after editing.

@mamciek
Copy link

mamciek commented Mar 26, 2012

after the patch emacs complains that "mapc: Cannot open load file" any file placed in the esk-user-dir

@DarwinAwardWinner
Copy link
Contributor

The convention that I've used in my personal emacs config (not ESK-based) is to have all of my settings files be named [PACKAGE]-settings.el. That way there is never any naming conflict.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants