From: Michael Shields Date: Tue, 25 Jun 2019 11:57:58 +0000 (+0200) Subject: [PATCH 1/1] Pass frame-parameters to server-create-tty-frame X-Git-Tag: emacs-27.0.90~2249 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=14fc8a108ba19c8d773df6de42f413be551c3025;p=emacs.git [PATCH 1/1] Pass frame-parameters to server-create-tty-frame * lisp/server.el: Pass frame-parameters when creating frames, even on a tty (bug#24147). --- diff --git a/lisp/server.el b/lisp/server.el index 436a44a7e94..3435702a651 100644 --- a/lisp/server.el +++ b/lisp/server.el @@ -833,7 +833,7 @@ This handles splitting the command if it would be bigger than (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 @@ -866,7 +866,8 @@ This handles splitting the command if it would be bigger than ;; 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.