Skip to content

Commit

Permalink
add emacs dir-locals
Browse files Browse the repository at this point in the history
  • Loading branch information
majestrate committed May 21, 2018
1 parent 1958df3 commit 589edf0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
((c++-mode
(eval add-hook 'before-save-hook #'clang-format-buffer nil t))
(c-mode
(eval add-hook 'before-save-hook #'clang-format-buffer nil t)))

0 comments on commit 589edf0

Please sign in to comment.