mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Removing emacs.py, which is obsolete.
This commit is contained in:
parent
da286666b2
commit
a3beb63eb7
1 changed files with 0 additions and 18 deletions
18
Lib/emacs.py
18
Lib/emacs.py
|
@ -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)' )
|
|
Loading…
Add table
Add a link
Reference in a new issue