diff options
| author | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2026-11-13 11:25:41 +0100 |
|---|---|---|
| committer | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2026-11-13 11:25:41 +0100 |
| commit | b1696f41a95cc99e63e67e50515971a978e0042a (patch) | |
| tree | 940592b2975b97b0041920cb024fa3161447f05f | |
| parent | 2e9f719266e8c70fa5684fc3f91b67e480e981a8 (diff) | |
Add vc-fossil to emacs config, and add some code which causes it to tangle into init.el automatically on save
| -rw-r--r-- | .emacs.d/init.el | 3 | ||||
| -rw-r--r-- | .emacs.d/init.org | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index c9ac394..2e7f8c8 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -83,3 +83,6 @@ (org-roam-directory (file-truename "~/org-files/roam")) :config (org-roam-db-autosync-mode)) + +(use-package vc-fossil + :init (add-to-list 'vc-handled-backends 'Fossil t)) diff --git a/.emacs.d/init.org b/.emacs.d/init.org index dd55f64..2df4c43 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -159,3 +159,14 @@ Enable electric mode by default. :config (org-roam-db-autosync-mode)) #+end_src +* vc-fossil +Load support for fossil-scm. +#+begin_src emacs-lisp :tangle "init.el" + (use-package vc-fossil + :init (add-to-list 'vc-handled-backends 'Fossil t)) +#+end_src + +* Automatically tangle the file on +# Local Variables: +# eval: (add-hook 'after-save-hook #'org-babel-tangle nil t) +# End: |