[PATCH] tiny patch to clang-format.el
Manuel Klimek
klimek at google.com
Tue Jun 11 05:01:27 PDT 2013
Thx, committed as r183739
On Tue, Jun 11, 2013 at 1:49 AM, Chris Gray <chrismgray at gmail.com> 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
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130611/0f408849/attachment.html>
More information about the cfe-commits
mailing list