(setq prefix "-print-nonl "))
(server-send-string proc (concat prefix qtext "\n"))))
-(defun server-create-tty-frame (tty type proc)
+(defun server-create-tty-frame (tty type proc &optional parameters)
(unless tty
(error "Invalid terminal device"))
(unless type
;; envvars, and then to change the
;; C functions `child_setup' and
;; `getenv_internal' accordingly.
- (environment . ,(process-get proc 'env)))))))
+ (environment . ,(process-get proc 'env))
+ ,@parameters)))))
;; ttys don't use the `display' parameter, but callproc.c does to set
;; the DISPLAY environment on subprocesses.