From: Eric S. Raymond Date: Fri, 7 Nov 2014 11:56:42 +0000 (-0500) Subject: Force Python2 but get Python mode in Emacs, too. X-Git-Tag: 0.2~62 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=cd07d0a66a00f940a7f2f9809aa7fe86bfe7e064;p=src.git Force Python2 but get Python mode in Emacs, too. --- diff --git a/src b/src index 977cb60..088a089 100755 --- a/src +++ b/src @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # src - simple revision control. # @@ -519,3 +519,8 @@ if __name__ == "__main__": except KeyError: sys.stderr.write("src: no such command as '%s'. Try 'src help'\n" \ % command[0]) + +# The following sets edit modes for GNU EMACS +# Local Variables: +# mode:python +# End: