string in the argument to execfile() so a Windows temp directory
named, e.g. c:\\tmp doesn't get interpreted as a file name with an
embedded tab! (given by C. Waldman).
(procbuf (process-buffer proc))
; (comint-scroll-to-bottom-on-output t)
(msg (format "## working on region in file %s...\n" filename))
- (cmd (format "execfile('%s')\n" filename)))
+ (cmd (format "execfile(r'%s')\n" filename)))
(unwind-protect
(save-excursion
(set-buffer procbuf)
(file-name-nondirectory file))))
(format "if globals().has_key('%s'):\n reload(%s)\nelse:\n import %s\n"
f f f))
- (format "execfile('%s')\n" file))
+ (format "execfile(r'%s')\n" file))
async))
;; else
(py-execute-buffer async))))