Mercurial > emacs
view src/acldef.h @ 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 | 695cf19ef79e |
children | 9511dc88835c 375f2633d815 |
line wrap: on
line source
#define ACL$K_LENGTH 12 #define ACL$C_LENGTH 12 #define ACL$C_FILE 1 #define ACL$C_DEVICE 2 #define ACL$C_JOBCTL_QUEUE 3 #define ACL$C_COMMON_EF_CLUSTER 4 #define ACL$C_LOGICAL_NAME_TABLE 5 #define ACL$C_PROCESS 6 #define ACL$C_GROUP_GLOBAL_SECTION 7 #define ACL$C_SYSTEM_GLOBAL_SECTION 8 #define ACL$C_ADDACLENT 1 #define ACL$C_DELACLENT 2 #define ACL$C_MODACLENT 3 #define ACL$C_FNDACLENT 4 #define ACL$C_FNDACETYP 5 #define ACL$C_DELETEACL 6 #define ACL$C_READACL 7 #define ACL$C_ACLLENGTH 8 #define ACL$C_READACE 9 #define ACL$C_RLOCK_ACL 10 #define ACL$C_WLOCK_ACL 11 #define ACL$C_UNLOCK_ACL 12 #define ACL$S_ADDACLENT 255 #define ACL$S_DELACLENT 255 #define ACL$S_MODACLENT 255 #define ACL$S_FNDACLENT 255 #define ACL$S_FNDACETYP 255 #define ACL$S_DELETEACL 255 #define ACL$S_READACL 512 #define ACL$S_ACLLENGTH 4 #define ACL$S_READACE 255 #define ACL$S_RLOCK_ACL 4 #define ACL$S_WLOCK_ACL 4 #define ACL$S_UNLOCK_ACL 4 #define ACL$S_ACLDEF 16 #define ACL$L_FLINK 0 #define ACL$L_BLINK 4 #define ACL$W_SIZE 8 #define ACL$B_TYPE 10 #define ACL$L_LIST 12 /* arch-tag: 7c11e99d-34df-41e8-98e2-20f152c4ad73 (do not change this comment) */