From cd07d0a66a00f940a7f2f9809aa7fe86bfe7e064 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 7 Nov 2014 06:56:42 -0500 Subject: [PATCH] Force Python2 but get Python mode in Emacs, too. --- src | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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: -- 2.43.0