Update runtime files.  (closes #9741)
diff --git a/runtime/ftplugin.vim b/runtime/ftplugin.vim
index 9109a6e..2500a7f 100644
--- a/runtime/ftplugin.vim
+++ b/runtime/ftplugin.vim
@@ -3,7 +3,7 @@
 # Vim support file to switch on loading plugins for file types
 #
 # Maintainer:	Bram Moolenaar <Bram@vim.org>
-# Last change:	2022 Feb 09
+# Last change:	2022 Feb 11
 
 if exists("g:did_load_ftplugin")
   finish
@@ -21,7 +21,8 @@
 
 def LoadFTPlugin()
   if exists("b:undo_ftplugin")
-    exe b:undo_ftplugin
+    # We assume b:undo_ftplugin is using legacy script syntax
+    legacy exe b:undo_ftplugin
     unlet! b:undo_ftplugin b:did_ftplugin
   endif