diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-18 11:10:05 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-18 11:10:05 +0100 |
commit | d1e0e1e8c69735a295c03654bf29f76071a9378e (patch) | |
tree | 9bc06bfe1bae7777c23a4260aac741198b70afc8 /.dir-locals.el | |
parent | 92a9e09643a88a38d373d08f0f514d2bb7285358 (diff) | |
download | dwm-d1e0e1e8c69735a295c03654bf29f76071a9378e.tar.gz dwm-d1e0e1e8c69735a295c03654bf29f76071a9378e.tar.bz2 dwm-d1e0e1e8c69735a295c03654bf29f76071a9378e.zip |
Turn off clang-format-mode with an eval in dir-locals
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index f4817b5..7ad1da6 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -2,4 +2,5 @@ ;;; For more information see (info "(emacs) Directory Variables") ((c-mode . ((clang-format-mode . nil) - (flycheck-mode . nil)))) + (flycheck-mode . nil) + (eval . (remove-hook 'c-mode-hook #'clang-format-mode))))) |