mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Fix environment variables on emacsclient frames.
lisp/server.el (server-getenv): Fix string lookup in alist. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-170
This commit is contained in:
parent
061e4e7fe0
commit
44070fdf1a
1 changed files with 1 additions and 1 deletions
|
|
@ -891,7 +891,7 @@ If FRAME is nil or missing, then the selected frame is used."
|
|||
(setq env (server-client-get (car clients) 'environment))
|
||||
(if (null env)
|
||||
(getenv variable)
|
||||
(assq variable env)))))
|
||||
(cdr (assoc variable env))))))
|
||||
|
||||
(defun server-unload-hook ()
|
||||
(server-start t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue