diff options
| author | Manuel Klimek <klimek@google.com> | 2013-06-11 12:00:24 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2013-06-11 12:00:24 +0000 |
| commit | c00dd8358311be0d7d55c81565611697e232f14e (patch) | |
| tree | c50ced31dcff1eeb179d64a13e1d40ebca805854 /clang/tools | |
| parent | a8570d38feeee1909da40bda15e6676b50dfce65 (diff) | |
| download | bcm5719-llvm-c00dd8358311be0d7d55c81565611697e232f14e.tar.gz bcm5719-llvm-c00dd8358311be0d7d55c81565611697e232f14e.zip | |
Make it possible to assign clang-format-buffer to a keybinding.
Patch by Chris Gray.
llvm-svn: 183739
Diffstat (limited to 'clang/tools')
| -rw-r--r-- | clang/tools/clang-format/clang-format.el | 1 |
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) |

