diff --git a/Emacs/emacsConfig.txt b/Emacs/emacsConfig.txt index 2cecb32..b977c08 100644 --- a/Emacs/emacsConfig.txt +++ b/Emacs/emacsConfig.txt @@ -211,8 +211,8 @@ "Format the region if one is selected, otherwise format the buffer" (interactive) (if (use-region-p) - (clang-format-region) - (clang-format-buffer) + (call-interactively 'clang-format-region) + (call-interactively 'clang-format-buffer) ) ) (global-set-key (kbd "C-M-a") 'macoy-clang-format-region-or-buffer)