diff options
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index e9fa94f678..79b9bc11d4 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -4911,10 +4911,6 @@ do_sub(exarg_T *eap) } else /* find the end of the regexp */ { -#ifdef FEAT_FKMAP /* reverse the flow of the Farsi characters */ - if (p_altkeymap && curwin->w_p_rl) - lrF_sub(cmd); -#endif which_pat = RE_LAST; /* use last used regexp */ delimiter = *cmd++; /* remember delimiter character */ pat = cmd; /* remember start of search pat */ @@ -6070,11 +6066,6 @@ ex_global(exarg_T *eap) *cmd++ = NUL; /* replace it with a NUL */ } -#ifdef FEAT_FKMAP /* when in Farsi mode, reverse the character flow */ - if (p_altkeymap && curwin->w_p_rl) - lrFswap(pat,0); -#endif - if (search_regcomp(pat, RE_BOTH, which_pat, SEARCH_HIS, ®match) == FAIL) { emsg(_(e_invcmd)); |