Mercurial > emacs
annotate msdos/sed2x.inp @ 83425:c82829d08b89
Fix semantics of let-binding `process-environment'.
* lisp/env.el: Require cl for byte compilation. (For `block' and `return'.)
(read-envvar-name): Update for rename. Include `process-environment'
as well.
(setenv): Update for rename also handle `process-environment'. Update doc.
(getenv): Update doc.
(environment): New function.
(let-environment): New macro.
* lisp/font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'.
* src/callproc.c (Vglobal_environment): New variable, taking over the
previous role of `Vprocess_environment', which is now something else.
(add_env): New function.
(child_setup): Use it.
(child_setup, getenv_internal): Rename Vprocess_environment to
Vglobal_environment. Handle the new Vprocess_environment.
(Fgetenv_internal, egetenv): Update doc.
(set_process_environment): Rename to `set_global_environment'. Rename
Vprocess_environment to Vglobal_environment.
(syms_of_callproc): Rename process-environment to global-environment,
add new process-environment, update docs.
* src/emacs.c (main): Call set_global_environment instead of
set_process_environment.
* fileio.c (Fread_file_name): Update comment.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-465
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Thu, 29 Dec 2005 01:28:33 +0000 |
parents | 3723093a21fd |
children | 067115a6e738 2d92f5c9d6ae |
rev | line source |
---|---|
9571 | 1 # -sed2x.inp------------------------------------------------------------ |
2 # Extra configuration script for src/config.h for DesqView/X | |
3 # ---------------------------------------------------------------------- | |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
4 # |
64890
3723093a21fd
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
52401
diff
changeset
|
5 # Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
6 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
7 # This file is part of GNU Emacs. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
8 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
9 # This file is free software; as a special exception, the author gives |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
10 # unlimited permission to copy and/or distribute it, with or without |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
11 # modifications, as long as this notice is preserved. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
12 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
13 # This program is distributed in the hope that it will be useful, |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
16 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
9571
diff
changeset
|
17 # ---------------------------------------------------------------------- |
9571 | 18 /^#undef HAVE_X_WINDOWS *$/s/undef/define/ |
19 /^#undef HAVE_X11 *$/s/undef/define/ | |
20 /^#undef HAVE_X_MENU *$/s/undef/define/ | |
21 /^#undef HAVE_XSCREENNUMBEROFSCREEN *$/s/undef/define/ | |
22 /^#undef HAVE_XSETWMPROTOCOLS *$/s/undef/define/ | |
23 /^#undef HAVE_SELECT *$/s/undef/define/ | |
52401 | 24 |
25 # arch-tag: 4a41c3ea-eb6c-4e17-8432-307516498e5a |