Add tangled file

This commit is contained in:
Bram Schoenmakers 2023-02-13 22:50:00 +01:00
parent 3ea9a04afb
commit 118c5a579a
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
;; https://github.com/lassik/emacs-format-all-the-code
(use-package format-all)
(use-package org
:config
(defun my/format-all-advice ()
(ignore-errors ; in case there's no language support
(call-interactively #'format-all-buffer)))
(advice-add #'org-edit-src-exit :before #'my/format-all-advice))