aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-18 11:10:05 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-18 11:10:05 +0100
commitd1e0e1e8c69735a295c03654bf29f76071a9378e (patch)
tree9bc06bfe1bae7777c23a4260aac741198b70afc8 /.dir-locals.el
parent92a9e09643a88a38d373d08f0f514d2bb7285358 (diff)
downloaddwm-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.el3
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)))))