From d1e0e1e8c69735a295c03654bf29f76071a9378e Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 18 Apr 2024 11:10:05 +0100 Subject: Turn off clang-format-mode with an eval in dir-locals --- .dir-locals.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))))) -- cgit v1.2.3-13-gbd6f