Make it possible to assign clang-format-buffer to a keybinding.

Patch by Chris Gray.

llvm-svn: 183739
This commit is contained in:
Manuel Klimek 2013-06-11 12:00:24 +00:00
parent a8570d38fe
commit c00dd83583
1 changed files with 1 additions and 0 deletions

View File

@ -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)