1
Fork 0
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:
Karoly Lorentey 2004-05-23 03:37:58 +00:00
parent 061e4e7fe0
commit 44070fdf1a

View file

@ -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)