fgallina / python.el

Python's flying circus support for Emacs
GNU General Public License v3.0
267 stars 53 forks source link

Add python2 and python3 to interpreter-mode-alist #149

Closed ToBeReplaced closed 10 years ago

ToBeReplaced commented 10 years ago

In addition to python, we should add python2, python2.7, python3, python3.3 to interpreter-mode-alist.

This would allow for a script to begin with:

#!/usr/bin/env python3

Or:

#!/usr/bin/env python2.7

This is useful when defining scripts without a .py extension that specify the python version through a shebang line.

fgallina commented 10 years ago

this has been addressed already in revno 114202 in the emacs-24 branch.