diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index 7bcb5b0919c..59be6c7797b 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1106,6 +1106,11 @@ the Bugs section of the Emacs manual or the file BUGS.\n", argv[0]); | |||
| 1106 | extern char etext; | 1106 | extern char etext; |
| 1107 | extern Lisp_Object Fredraw_frame (); | 1107 | extern Lisp_Object Fredraw_frame (); |
| 1108 | atexit (_mcleanup); | 1108 | atexit (_mcleanup); |
| 1109 | /* This uses Fredraw_frame because that function | ||
| 1110 | comes first in the Emacs executable. | ||
| 1111 | It might be better to use something that gives | ||
| 1112 | the start of the text segment, but start_of_text | ||
| 1113 | is not defined on all systems now. */ | ||
| 1109 | monstartup (Fredraw_frame, &etext); | 1114 | monstartup (Fredraw_frame, &etext); |
| 1110 | } | 1115 | } |
| 1111 | else | 1116 | else |