[BACK]Return to extend.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/extend.c between version 1.10 and 1.11

version 1.10, 2001/05/23 20:57:54 version 1.11, 2001/05/23 22:12:10
Line 473 
Line 473 
 bindtokey(f, n)  bindtokey(f, n)
         int f, n;          int f, n;
 {  {
         return dobind(map_table[0].p_map, "Global set key: ", FALSE);          return dobind(fundamental_map, "Global set key: ", FALSE);
 }  }
   
 /*  /*
Line 514 
Line 514 
 unbindtokey(f, n)  unbindtokey(f, n)
         int f, n;          int f, n;
 {  {
         return dobind(map_table[0].p_map, "Global unset key: ", TRUE);          return dobind(fundamental_map, "Global unset key: ", TRUE);
 }  }
   
 int  int
Line 727 
Line 727 
 #ifdef  FKEYS  #ifdef  FKEYS
         if (fp == bindtokey || fp == unbindtokey) {          if (fp == bindtokey || fp == unbindtokey) {
                 bind = BINDARG;                  bind = BINDARG;
                 curmap = map_table[0].p_map;                  curmap = fundamental_map;
         } else if (fp == localbind || fp == localunbind) {          } else if (fp == localbind || fp == localunbind) {
                 bind = BINDARG;                  bind = BINDARG;
                 curmap = curbp->b_modes[curbp->b_nmodes]->p_map;                  curmap = curbp->b_modes[curbp->b_nmodes]->p_map;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11