대문 최근에 바뀐 글 새소식 찾기 하우투 문제 제안

InterpreterModeAlist

Something like this:

    (add-to-list 'interpreter-mode-alist '("python" . python-mode))

Where ‘python-mode’ is AutoLoaded or already defined, and the file starts like this:

    #!/usr/bin/python

or:

    #!/usr/local/bin/python

The name of the executable is the relevant part.

See LoadPath.