diff src/edit.c @ 574:25a70b1cd2da

updated for version 7.0163
author vimboss
date Tue, 06 Dec 2005 19:59:18 +0000
parents f43150a669dc
children e4c00ec07598
line wrap: on
line diff
--- a/src/edit.c
+++ b/src/edit.c
@@ -222,10 +222,6 @@ static int	revins_legal;		/* was the las
 static int	revins_scol;		/* start column of revins session */
 #endif
 
-#if defined(FEAT_MBYTE) && defined(MACOS_CLASSIC)
-static short	previous_script = smRoman;
-#endif
-
 static int	ins_need_undo;		/* call u_save() before inserting a
 					   char.  Set when edit() is called.
 					   after that arrow_used is used. */
@@ -398,10 +394,6 @@ edit(cmdchar, startln, count)
     im_set_active(curbuf->b_p_iminsert == B_IMODE_IM);
 #endif
 
-#if defined(FEAT_MBYTE) && defined(MACOS_CLASSIC)
-    KeyScript(previous_script);
-#endif
-
 #ifdef FEAT_MOUSE
     setmouse();
 #endif
@@ -2089,6 +2081,8 @@ ins_compl_make_cyclic()
     return count;
 }
 
+/* "compl_match_array" points the currently displayed list of entries in the
+ * popup menu.  It is NULL when there is no popup menu. */
 static char_u **compl_match_array = NULL;
 static int compl_match_arraysize;
 
@@ -6533,10 +6527,6 @@ ins_esc(count, cmdchar, nomove)
 	composing_hangul = 0;
     }
 #endif
-#if defined(FEAT_MBYTE) && defined(MACOS_CLASSIC)
-    previous_script = GetScriptManagerVariable(smKeyScript);
-    KeyScript(smKeyRoman); /* or smKeySysScript */
-#endif
 
     temp = curwin->w_cursor.col;
     if (disabled_redraw)