diff options
| author | Lute Kamstra | 2005-04-18 10:22:20 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-04-18 10:22:20 +0000 |
| commit | 9942fa0cc18035775715ce99a3af95ee02870016 (patch) | |
| tree | 743135b455b197b94d28dc9aa561523fbce22a0b | |
| parent | 7aed223df91314cb90295e9199ad960aec71a312 (diff) | |
| download | emacs-9942fa0cc18035775715ce99a3af95ee02870016.tar.gz emacs-9942fa0cc18035775715ce99a3af95ee02870016.zip | |
(Vloads_in_progress): Static.
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/lread.c | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a9ecedf1c53..953c38dbdb9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2005-04-18 Lute Kamstra <lute@gnu.org> | ||
| 2 | |||
| 3 | * lread.c (Vloads_in_progress): Static. | ||
| 4 | * fns.c (Vloads_in_progress): Remove extern. | ||
| 5 | (load_in_progress): Add extern. | ||
| 6 | (Frequire): Use load_in_progress instead of Vloads_in_progress. | ||
| 7 | |||
| 1 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> | 8 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> |
| 2 | 9 | ||
| 3 | * xmenu.c (Fx_popup_menu): Initialize error_name to NULL. | 10 | * xmenu.c (Fx_popup_menu): Initialize error_name to NULL. |
| @@ -119,7 +126,6 @@ | |||
| 119 | into "(any string)". | 126 | into "(any string)". |
| 120 | 127 | ||
| 121 | * lread.c (Vloads_in_progress): Not static. | 128 | * lread.c (Vloads_in_progress): Not static. |
| 122 | |||
| 123 | * fns.c (Vloads_in_progress): Add extern. | 129 | * fns.c (Vloads_in_progress): Add extern. |
| 124 | (Frequire): Don't do LOADHIST_ATTACH if Vloads_in_progress is nil. | 130 | (Frequire): Don't do LOADHIST_ATTACH if Vloads_in_progress is nil. |
| 125 | 131 | ||
diff --git a/src/lread.c b/src/lread.c index b634e70934b..cd0e7544ad4 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Lisp parsing and input streams. | 1 | /* Lisp parsing and input streams. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 1997, 1998, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 1997, 1998, |
| 3 | 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. | 3 | 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -89,7 +89,7 @@ Lisp_Object Qinhibit_file_name_operation; | |||
| 89 | extern Lisp_Object Qevent_symbol_element_mask; | 89 | extern Lisp_Object Qevent_symbol_element_mask; |
| 90 | extern Lisp_Object Qfile_exists_p; | 90 | extern Lisp_Object Qfile_exists_p; |
| 91 | 91 | ||
| 92 | /* non-zero if inside `load' */ | 92 | /* non-zero iff inside `load' */ |
| 93 | int load_in_progress; | 93 | int load_in_progress; |
| 94 | 94 | ||
| 95 | /* Directory in which the sources were found. */ | 95 | /* Directory in which the sources were found. */ |
| @@ -193,7 +193,7 @@ static int new_backquote_flag; | |||
| 193 | /* A list of file names for files being loaded in Fload. Used to | 193 | /* A list of file names for files being loaded in Fload. Used to |
| 194 | check for recursive loads. */ | 194 | check for recursive loads. */ |
| 195 | 195 | ||
| 196 | Lisp_Object Vloads_in_progress; | 196 | static Lisp_Object Vloads_in_progress; |
| 197 | 197 | ||
| 198 | /* Non-zero means load dangerous compiled Lisp files. */ | 198 | /* Non-zero means load dangerous compiled Lisp files. */ |
| 199 | 199 | ||