Martin Kletzander
2019-Apr-29 20:12 UTC
[Libguestfs] [nbdkit PATCH] dir-locals: Set c-basic-offset
Signed-off-by: Martin Kletzander <mkletzan@redhat.com> --- .dir-locals.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.dir-locals.el b/.dir-locals.el index c9c3affaba28..e420fdbd9f1a 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1 +1,2 @@ -((c-mode . ((indent-tabs-mode . nil)))) +((c-mode . ((indent-tabs-mode . nil) + (c-basic-offset . 2)))) -- 2.21.0
Richard W.M. Jones
2019-Apr-30 11:56 UTC
Re: [Libguestfs] [nbdkit PATCH] dir-locals: Set c-basic-offset
On Mon, Apr 29, 2019 at 10:12:25PM +0200, Martin Kletzander wrote:> Signed-off-by: Martin Kletzander <mkletzan@redhat.com> > --- > .dir-locals.el | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/.dir-locals.el b/.dir-locals.el > index c9c3affaba28..e420fdbd9f1a 100644 > --- a/.dir-locals.el > +++ b/.dir-locals.el > @@ -1 +1,2 @@ > -((c-mode . ((indent-tabs-mode . nil)))) > +((c-mode . ((indent-tabs-mode . nil) > + (c-basic-offset . 2))))Looks good, I've pushed it now, thanks. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org