]> thyrsus.com Git - src.git/commitdiff
Force Python2 but get Python mode in Emacs, too.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 7 Nov 2014 11:56:42 +0000 (06:56 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 7 Nov 2014 11:56:42 +0000 (06:56 -0500)
src

diff --git a/src b/src
index 977cb60e040de9449d7e730efacc596bf1a9a389..088a089405caeb6e86c983a70f9ede2f94c7dba4 100755 (executable)
--- 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: