Mercurial > vim
comparison src/eval.c @ 3488:2722f11ddc99 v7.3.508
updated for version 7.3.508
Problem: Default for v:register is not set.
Solution: Init v:register in eval_init(). Correct for 'clipboard' before the
main loop. (Ingo Karkat)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 25 Apr 2012 18:24:29 +0200 |
parents | fe7bf24804e1 |
children | 454646820185 |
comparison
equal
deleted
inserted
replaced
3487:7e60e3985f71 | 3488:2722f11ddc99 |
---|---|
878 if (p->vv_flags & VV_COMPAT) | 878 if (p->vv_flags & VV_COMPAT) |
879 /* add to compat scope dict */ | 879 /* add to compat scope dict */ |
880 hash_add(&compat_hashtab, p->vv_di.di_key); | 880 hash_add(&compat_hashtab, p->vv_di.di_key); |
881 } | 881 } |
882 set_vim_var_nr(VV_SEARCHFORWARD, 1L); | 882 set_vim_var_nr(VV_SEARCHFORWARD, 1L); |
883 set_reg_var(0); /* default for v:register is not 0 but '"' */ | |
883 | 884 |
884 #ifdef EBCDIC | 885 #ifdef EBCDIC |
885 /* | 886 /* |
886 * Sort the function table, to enable binary search. | 887 * Sort the function table, to enable binary search. |
887 */ | 888 */ |