mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-25 11:09:52 +00:00
[emacs] Look for and load library of babel files
This commit is contained in:
parent
8bc0fe1d65
commit
ba6f995e32
1 changed files with 12 additions and 0 deletions
|
@ -657,6 +657,18 @@ be based on their headings.
|
||||||
:hook (org-mode . org-sticky-header-mode)
|
:hook (org-mode . org-sticky-header-mode)
|
||||||
:config (setq org-sticky-header-full-path 'full))
|
:config (setq org-sticky-header-full-path 'full))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Library of Babel
|
||||||
|
|
||||||
|
Load shared code snippets to be used in org documents.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(let ((org-dirs '("~/org" "~/org-aweber")))
|
||||||
|
(seq-map #'org-babel-lob-ingest
|
||||||
|
(seq-filter #'f-exists?
|
||||||
|
(seq-map (lambda (path) (f-join path "library-of-babel.org"))
|
||||||
|
org-dirs))))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Eshell
|
* Eshell
|
||||||
** Change directory in the context of a remote host
|
** Change directory in the context of a remote host
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
Loading…
Reference in a new issue