Преглед на файлове

Ensure the emacslcient call creates a new frame

Alex Bennee преди 16 години
родител
ревизия
cd4d8024f4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      pycl.py

+ 1 - 1
pycl.py

@@ -54,7 +54,7 @@ class Handler(BaseHTTPRequestHandler):
             # spawn editor...
             print "Spawning editor... ", f.name
 
-            p = subprocess.Popen(["/usr/bin/emacsclient", f.name], close_fds=True)
+            p = subprocess.Popen(["/usr/bin/emacsclient", "-c", f.name], close_fds=True)
 
             # hold connection open until editor finishes
             p.wait()