File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3583,7 +3583,8 @@ ex_function(exarg_T *eap)
35833583}
35843584
35853585/*
3586- * :defcompile - compile all :def functions in the current script.
3586+ * :defcompile - compile all :def functions in the current script that need to
3587+ * be compiled. Except dead functions.
35873588 */
35883589 void
35893590ex_defcompile (exarg_T * eap UNUSED )
@@ -3600,7 +3601,8 @@ ex_defcompile(exarg_T *eap UNUSED)
36003601 -- todo ;
36013602 ufunc = HI2UF (hi );
36023603 if (ufunc -> uf_script_ctx .sc_sid == current_sctx .sc_sid
3603- && ufunc -> uf_def_status == UF_TO_BE_COMPILED )
3604+ && ufunc -> uf_def_status == UF_TO_BE_COMPILED
3605+ && (ufunc -> uf_flags & FC_DEAD ) == 0 )
36043606 {
36053607 compile_def_function (ufunc , FALSE, NULL );
36063608
Original file line number Diff line number Diff line change @@ -754,6 +754,8 @@ static char *(features[]) =
754754
755755static int included_patches [] =
756756{ /* Add new patch number below this line */
757+ /**/
758+ 1643 ,
757759/**/
758760 1642 ,
759761/**/
You can’t perform that action at this time.
0 commit comments