aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrea Corallo2021-03-03 20:25:14 +0100
committerAndrea Corallo2021-03-03 20:36:16 +0100
commitcf37850e2d69eda908495950acf8decb0ecec517 (patch)
treed31b59c0d38a58645a2499a2db54c207ea2229e6 /src
parent0c5ba41b72a19f5353083431a1817d86bc3b7fad (diff)
downloademacs-cf37850e2d69eda908495950acf8decb0ecec517.tar.gz
emacs-cf37850e2d69eda908495950acf8decb0ecec517.zip
* src/comp.c (return_nil): Make it not a nested function.
Diffstat (limited to 'src')
-rw-r--r--src/comp.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/comp.c b/src/comp.c
index d74f8328fda..bcffd426d95 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -4506,6 +4506,14 @@ helper_PSEUDOVECTOR_TYPEP_XUNTAG (Lisp_Object a, enum pvec_type code)
4506 4506
4507static Lisp_Object all_loaded_comp_units_h; 4507static Lisp_Object all_loaded_comp_units_h;
4508 4508
4509#ifdef WINDOWSNT
4510static Lisp_Object
4511return_nil (Lisp_Object arg)
4512{
4513 return Qnil;
4514}
4515#endif
4516
4509/* Windows does not let us delete a .eln file that is currently loaded 4517/* Windows does not let us delete a .eln file that is currently loaded
4510 by a process. The strategy is to rename .eln files into .old.eln 4518 by a process. The strategy is to rename .eln files into .old.eln
4511 instead of removing them when this is not possible and clean-up 4519 instead of removing them when this is not possible and clean-up
@@ -4517,8 +4525,6 @@ void
4517eln_load_path_final_clean_up (void) 4525eln_load_path_final_clean_up (void)
4518{ 4526{
4519#ifdef WINDOWSNT 4527#ifdef WINDOWSNT
4520 Lisp_Object return_nil (Lisp_Object arg) { return Qnil; }
4521
4522 Lisp_Object dir_tail = Vcomp_eln_load_path; 4528 Lisp_Object dir_tail = Vcomp_eln_load_path;
4523 FOR_EACH_TAIL (dir_tail) 4529 FOR_EACH_TAIL (dir_tail)
4524 { 4530 {