diff options
| author | Richard M. Stallman | 1995-05-06 20:13:31 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-05-06 20:13:31 +0000 |
| commit | 1090a1617054e3bda2d37c38f6a201edd1c7d4f1 (patch) | |
| tree | 66ae9052a07726907e6b31d255b3fd76dbc06780 /src | |
| parent | 14510fee47e539a6a95ec61ab3c7ef9f7f3b82d8 (diff) | |
| download | emacs-1090a1617054e3bda2d37c38f6a201edd1c7d4f1.tar.gz emacs-1090a1617054e3bda2d37c38f6a201edd1c7d4f1.zip | |
Delete all APOLLO conditionals.
(Fdump_emacs_data): Don't use & before my_edata.
(Fkill_emacs): Delete the Vauto_save_list_file_name file.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/src/emacs.c b/src/emacs.c index 686a784e10c..396c80210ac 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -35,12 +35,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 35 | #include <sys/ioctl.h> | 35 | #include <sys/ioctl.h> |
| 36 | #endif | 36 | #endif |
| 37 | 37 | ||
| 38 | #ifdef APOLLO | ||
| 39 | #ifndef APOLLO_SR10 | ||
| 40 | #include <default_acl.h> | ||
| 41 | #endif | ||
| 42 | #endif | ||
| 43 | |||
| 44 | #include "lisp.h" | 38 | #include "lisp.h" |
| 45 | #include "commands.h" | 39 | #include "commands.h" |
| 46 | #include "intervals.h" | 40 | #include "intervals.h" |
| @@ -120,6 +114,8 @@ char *stack_bottom; | |||
| 120 | extern Lisp_Object Vwindow_system; | 114 | extern Lisp_Object Vwindow_system; |
| 121 | #endif /* HAVE_X_WINDOWS */ | 115 | #endif /* HAVE_X_WINDOWS */ |
| 122 | 116 | ||
| 117 | extern Lisp_Object Vauto_save_list_file_name; | ||
| 118 | |||
| 123 | #ifdef USG_SHARED_LIBRARIES | 119 | #ifdef USG_SHARED_LIBRARIES |
| 124 | /* If nonzero, this is the place to put the end of the writable segment | 120 | /* If nonzero, this is the place to put the end of the writable segment |
| 125 | at startup. */ | 121 | at startup. */ |
| @@ -499,15 +495,6 @@ main (argc, argv, envp) | |||
| 499 | 495 | ||
| 500 | clearerr (stdin); | 496 | clearerr (stdin); |
| 501 | 497 | ||
| 502 | #ifdef APOLLO | ||
| 503 | #ifndef APOLLO_SR10 | ||
| 504 | /* If USE_DOMAIN_ACLS environment variable exists, | ||
| 505 | use ACLs rather than UNIX modes. */ | ||
| 506 | if (egetenv ("USE_DOMAIN_ACLS")) | ||
| 507 | default_acl (USE_DEFACL); | ||
| 508 | #endif | ||
| 509 | #endif /* APOLLO */ | ||
| 510 | |||
| 511 | #ifndef SYSTEM_MALLOC | 498 | #ifndef SYSTEM_MALLOC |
| 512 | if (! initialized) | 499 | if (! initialized) |
| 513 | { | 500 | { |
| @@ -1142,6 +1129,11 @@ all of which are called before Emacs is actually killed.") | |||
| 1142 | if (!NILP (Vrun_hooks) && !noninteractive) | 1129 | if (!NILP (Vrun_hooks) && !noninteractive) |
| 1143 | call1 (Vrun_hooks, intern ("kill-emacs-hook")); | 1130 | call1 (Vrun_hooks, intern ("kill-emacs-hook")); |
| 1144 | 1131 | ||
| 1132 | /* If we have an auto-save list file, | ||
| 1133 | kill it because we are exiting Emacs deliberately (not crashing). */ | ||
| 1134 | if (STRINGP (Vauto_save_list_file_name)) | ||
| 1135 | unlink (XSTRING (Vauto_save_list_file_name)->data); | ||
| 1136 | |||
| 1145 | UNGCPRO; | 1137 | UNGCPRO; |
| 1146 | 1138 | ||
| 1147 | /* Is it really necessary to do this deassign | 1139 | /* Is it really necessary to do this deassign |
| @@ -1237,8 +1229,6 @@ shut_down_emacs (sig, no_x, stuff) | |||
| 1237 | 1229 | ||
| 1238 | 1230 | ||
| 1239 | #ifndef CANNOT_DUMP | 1231 | #ifndef CANNOT_DUMP |
| 1240 | /* Nothing like this can be implemented on an Apollo. | ||
| 1241 | What a loss! */ | ||
| 1242 | 1232 | ||
| 1243 | #ifdef HAVE_SHM | 1233 | #ifdef HAVE_SHM |
| 1244 | 1234 | ||
| @@ -1261,7 +1251,7 @@ This function exists on systems that use HAVE_SHM.") | |||
| 1261 | /* Tell malloc where start of impure now is */ | 1251 | /* Tell malloc where start of impure now is */ |
| 1262 | /* Also arrange for warnings when nearly out of space. */ | 1252 | /* Also arrange for warnings when nearly out of space. */ |
| 1263 | #ifndef SYSTEM_MALLOC | 1253 | #ifndef SYSTEM_MALLOC |
| 1264 | memory_warnings (&my_edata, malloc_warning); | 1254 | memory_warnings (my_edata, malloc_warning); |
| 1265 | #endif | 1255 | #endif |
| 1266 | map_out_data (XSTRING (intoname)->data); | 1256 | map_out_data (XSTRING (intoname)->data); |
| 1267 | 1257 | ||