Thx, committed as r183739

On Tue, Jun 11, 2013 at 1:49 AM, Chris Gray <[email protected]> wrote:

> Hi, the following patch makes it possible to assign clang-format-buffer to
> a keybinding.
>
> Index: clang-format/clang-format.el
> ===================================================================
> --- clang-format/clang-format.el (revision 183710)
> +++ clang-format/clang-format.el (working copy)
> @@ -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)
>
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to