[ovs-dev] [PATCH] ovs-lib: Ensure Emacs identifies the file type properly.

Ben Pfaff blp at ovn.org
Mon Apr 2 19:51:51 UTC 2018


On Mon, Apr 02, 2018 at 03:05:31PM -0400, Aaron Conole wrote:
> Ben Pfaff <blp at ovn.org> writes:
> 
> > This makes Emacs identify the file as a shell script, so that it does
> > the right kind of syntax coloring and indentation.
> >
> > Signed-off-by: Ben Pfaff <blp at ovn.org>
> > ---
> 
> It is better than typing M-x shell-mode each time.
> 
> >  utilities/ovs-lib.in | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/utilities/ovs-lib.in b/utilities/ovs-lib.in
> > index cf6b6d296eb5..7889409c75a8 100644
> > --- a/utilities/ovs-lib.in
> > +++ b/utilities/ovs-lib.in
> > @@ -1,3 +1,4 @@
> > +# -*- sh -*-
> >  # This is a shell function library sourced by some Open vSwitch scripts.
> >  # It is not intended to be invoked on its own.
> 
> Acked-by: Aaron Conole <aconole at redhat.com>
> 
> I might also suggest folding in the following (for our vim brethren).

Thanks, I folded that in and applied this to master.


More information about the dev mailing list