Skip to content

Commit

Permalink
Emacs: Add exlude to editorconfig on export
Browse files Browse the repository at this point in the history
  • Loading branch information
benmezger committed Apr 17, 2021
1 parent 235d0b7 commit 3b6b60b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dot_doom.d/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -336,3 +336,8 @@
(setq plantum-executable-path "/usr/bin/plantuml"))
((string-equal system-type "darwin")
(setq plantuml-executable-path "/usr/local/bin/plantuml"))))

(defadvice! +editorconfig--inhibit-in-org-exports-a (orig-fn &rest args)
:around '(org-export-to-file org-babel-tangle)
(let ((editorconfig-exclude-regexps '(".")))
(apply orig-fn args)))

0 comments on commit 3b6b60b

Please sign in to comment.