diff options
-rw-r--r-- | Lib/emacs.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Lib/emacs.py b/Lib/emacs.py deleted file mode 100644 index ffce099..0000000 --- a/Lib/emacs.py +++ /dev/null @@ -1,18 +0,0 @@ -# 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)' ) |