-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support literate config /
doom +org tangle
Adds `tangleArgs`. When set, runs `doom +org tangle` in a symlinked copy of DOOMDIR, using that instead of the original for everything else. I expect this to be usable as an alternative to `doom :config literate`, which (because it does its work from `doom-before-sync-hook`) has no effect. We currently (somewhat hackishly) run `doom` with just an `init.el` enabling `:lang org` (the bare minimum for Doom to provide the `+org tangle` command), not a full profile. This means the user can tangle their init.el, but also that Doom uses org-mode from upstream emacs, not its pinned version. If this turns out to be a problem, we should be able to build an actual Doom profile and `doom` wrapper first.
- Loading branch information
Showing
5 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#+title: Config | ||
|
||
#+begin_src emacs-lisp :tangle init.el | ||
(doom! :lang org) | ||
#+end_src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters