Compare commits

...

2 commits

Author SHA1 Message Date
Bram Schoenmakers 118c5a579a Add tangled file 2023-02-13 22:50:00 +01:00
Bram Schoenmakers 3ea9a04afb Remove line 2023-02-13 22:49:48 +01:00
2 changed files with 10 additions and 2 deletions

View file

@ -344,8 +344,6 @@ Found [[https://www.reddit.com/r/emacs/comments/e2u5n9/comment/f918t22/][a Reddi
(advice-add #'org-edit-src-exit :before #'my/format-all-advice))
#+end_src
Better adapt the README file instead.
* Paredit inside minibuffer commands :emacs:
Used [[https://github.com/purcell/emacs.d/blob/master/lisp/init-paredit.el][Purcell's configation]] as a starting point.

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))