forked from OSchip/llvm-project
Make it possible to assign clang-format-buffer to a keybinding.
Patch by Chris Gray. llvm-svn: 183739
This commit is contained in:
parent
a8570d38fe
commit
c00dd83583
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue