Compare commits
2 commits
d1af9b3a27
...
118c5a579a
Author | SHA1 | Date | |
---|---|---|---|
Bram Schoenmakers | 118c5a579a | ||
Bram Schoenmakers | 3ea9a04afb |
|
@ -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.
|
||||
|
|
10
gists/format-org-mode-source-blocks.el
Normal file
10
gists/format-org-mode-source-blocks.el
Normal 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))
|
Loading…
Reference in a new issue