]> granicus.if.org Git - python/commit
(py-master-file): New buffer-local variable which can be set in the
authorBarry Warsaw <barry@python.org>
Tue, 20 Jan 1998 21:43:34 +0000 (21:43 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 20 Jan 1998 21:43:34 +0000 (21:43 +0000)
commitc0ecb53194c5835bf355e5ddfc17524bd477e476
tree99affc27872b4cf9c57e73ea64cdbb829923d6a7
parent61b04526265c100fb6157c0019c3c898d11361d2
(py-master-file): New buffer-local variable which can be set in the
file local variable section of a file.  When set, and the user hits
C-c C-c, this file gets executed instead of the buffer's file.  Idea
given by Roy Dragseth <royd@math.uit.no>, but implemented differently.

(py-execute-buffer): Support py-master-file variable.  If this names a
relative path, default-directory is prepended via expand-file-name.
Misc/python-mode.el