Comments (5)
I do have that in my personal config.el
;; load my own modules
(when (file-directory-p (expand-file-name "modules/" rational-config-path))
(add-to-list 'load-path (expand-file-name "modules/" rational-config-path)))
if it is desired, I can make a PR to have this in init.el
from crafted-emacs.
I do have that in my personal
config.el
;; load my own modules
(when (file-directory-p (expand-file-name "modules/" rational-config-path))
(add-to-list 'load-path (expand-file-name "modules/" rational-config-path)))
if it is desired, I can make a PR to have this in
init.el
something like this is what i would recomend
this will also load subdirectories which might be a good idea in the init.el
this allows for having 📁 custom-modules
filled with git repositories(this is what i am doing, allows for readme.org etc )
(when (file-directory-p (expand-file-name "custom-modules/" rational-config-path))
(add-to-list 'load-path (expand-file-name "custom-modules/" rational-config-path))
;;(add-to-list 'load-path (expand-file-name "custom-modules/" rational-config-path))
(let ((default-directory (expand-file-name "custom-modules/" rational-config-path)))
(normal-top-level-add-subdirs-to-load-path))
)
from crafted-emacs.
it would also make it easier to host modules on a git-forge not owned by MicroSoft...
from crafted-emacs.
I do have that in my personal
config.el
;; load my own modules
(when (file-directory-p (expand-file-name "modules/" rational-config-path))
(add-to-list 'load-path (expand-file-name "modules/" rational-config-path)))
if it is desired, I can make a PR to have this in
init.el
that would be great
its a quality of life thing but still really useful
from crafted-emacs.
A bit of an old issue, but a PR would still be appropriate.
from crafted-emacs.
Related Issues (20)
- [craftedv2beta] Use `customize-save-variable` vs. `customize-set-variable`? HOT 11
- [craftedv2beta] Question regarding the skeleton for new modules HOT 5
- Discussion: When do our own `defcustom` variables make sense? When are they best avoided? HOT 6
- [craftedv2beta] Evil bindings in crafted-speedbar are duplicate and inconsistent with evil-collection HOT 3
- [craftedv2beta] Standardized way for naming functions HOT 5
- [craftedv2beta] Unused function `crafted-completion/minibuffer-backward-kill` HOT 2
- texinfo tags in doc headings don't seem to be needed HOT 3
- [v2] Emacs 29+ check for executable prevents Treesitter setup HOT 12
- [v2] No easy way to opt out of tree sitter parsers HOT 5
- [v2] Corfu + Eglot have unsuitable performance for medium/large projects HOT 4
- [v2] defgroup crafted-startup not functioning properly
- [v2]package-selected-packages "Combobulate" problem. HOT 3
- Automating regeneration of Info file HOT 13
- Suggestion: Make examples loadable HOT 3
- Symbol's function definition is void: treesit-auto-add-to-auto-mode-alist HOT 3
- `crafted-init-config` automatically finding directory possibly confounded by submodule use HOT 9
- Eglot doesn't automatically load when a relevant mode is visited until explicitly required HOT 10
- treesit-auto-opt-out-list seems to have disappeared
- User is trapped in INSERT state when using `evil` and `completion` modules (pkgs+config) because corfu cannot handle rejection. HOT 7
- Commit count in crafted-updates-config.el HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crafted-emacs.