Staging
v0.5.1
v0.5.1
Revision c6143338b399ee4164321af027144d714597528b authored by cvs2svn on 01 July 1996, 18:34:03 UTC, committed by cvs2svn on 01 July 1996, 18:34:03 UTC
1 parent 88dc264
emacs.py
# Execute Emacs code from a Python interpreter.
# This code should be imported from a Python interpreter that is
# running as an inferior process of Emacs.
# See misc/py-connect.el for the companion Emacs lisp code.
# Author: Terrence M. Brannon.
start_marker = '+'
end_marker = '~'
def eval (string):
tmpstr = start_marker + '(' + string + ')' + end_marker
print tmpstr
def dired (directory):
eval( 'dired ' + '"' + directory + '"' )
def buffer_menu ():
eval( 'buffer-menu(buffer-list)' )
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...