diff options
author | Miles Bader <miles@gnu.org> | 2007-05-16 07:12:33 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2007-05-16 07:12:33 +0000 |
commit | 36ab861205a8e5f930918ff4c8e62d158169a32a (patch) | |
tree | 90cd759731bae97e70754a58d07d8ca37b8e976c /lisp/term/rxvt.el | |
parent | a9683a703b3d03b2f8480f04d081fe366e94e599 (diff) | |
download | emacs-36ab861205a8e5f930918ff4c8e62d158169a32a.tar.gz |
Rudimentary fix for environment variable handling.
* lisp/env.el (getenv): Restore David Kastrup's fix.
(environment): Add optional frame parameter.
* lisp/mule-cmds.el (set-locale-environment): Fix getenv call.
* lisp/term/rxvt.el (rxvt-set-background-mode): Ditto.
* lisp/x-win.el (x-initialize-window-system, terminal-init-xterm): Ditto.
* lisp/server.el (server-with-environment): Restore the original environment.
Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-6
Creator: Karoly Lorentey <karoly@lorentey.hu>
Diffstat (limited to 'lisp/term/rxvt.el')
-rw-r--r-- | lisp/term/rxvt.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term/rxvt.el b/lisp/term/rxvt.el index d9c87bba7fe..366a99819f7 100644 --- a/lisp/term/rxvt.el +++ b/lisp/term/rxvt.el @@ -284,7 +284,7 @@ for the currently selected frame." ;; intelligent way than the default guesswork in startup.el. (defun rxvt-set-background-mode () "Set background mode as appropriate for the default rxvt colors." - (let ((fgbg (getenv "COLORFGBG" (terminal-id))) + (let ((fgbg (getenv "COLORFGBG")) bg rgb) (set-terminal-parameter nil 'background-mode 'light) (when (and fgbg |