aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/lang.org10
1 files changed, 7 insertions, 3 deletions
diff --git a/Emacs/.config/emacs/lang.org b/Emacs/.config/emacs/lang.org
index 594c52e..b1cbcb2 100644
--- a/Emacs/.config/emacs/lang.org
+++ b/Emacs/.config/emacs/lang.org
@@ -277,9 +277,13 @@ my dotfiles).
:after cc-mode
:commands (+code/clang-format-region-or-buffer
clang-format-mode)
- :hook
- (c-mode-hook . clang-format-mode)
- (c++-mode-hook . clang-format-mode)
+ ;;; 2024-04-24: disabled as it's annoying on projects where a
+ ;;; .clang-format isn't defined. Furthermore, does it make sense
+ ;;; for *every* file you open and edit to have a format function run
+ ;;; right after? seems a bit slow.
+ ;; :hook
+ ;; (c-mode-hook . clang-format-mode)
+ ;; (c++-mode-hook . clang-format-mode)
:general
(code-leader
:keymaps '(c-mode-map c++-mode-map)