summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/tools/clang-format/clang-format.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/tools/clang-format/clang-format.el b/clang/tools/clang-format/clang-format.el
index 48fe36f2e56..b0131ed3194 100644
--- a/clang/tools/clang-format/clang-format.el
+++ b/clang/tools/clang-format/clang-format.el
@@ -28,6 +28,7 @@
(defun clang-format-buffer ()
"Use clang-format to format the current buffer."
+ (interactive)
(clang-format (point-min) (point-max)))
(defun clang-format (begin end)
OpenPOWER on IntegriCloud