|
Karsten Hopp |
27ecf4 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
27ecf4 |
Subject: patch 7.1.022
|
|
Karsten Hopp |
27ecf4 |
Fcc: outbox
|
|
Karsten Hopp |
27ecf4 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
27ecf4 |
Mime-Version: 1.0
|
|
Karsten Hopp |
27ecf4 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
27ecf4 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
27ecf4 |
------------
|
|
Karsten Hopp |
27ecf4 |
|
|
Karsten Hopp |
27ecf4 |
Patch 7.1.022
|
|
Karsten Hopp |
27ecf4 |
Problem: When setting 'keymap' twice the b:keymap_name variable isn't set.
|
|
Karsten Hopp |
27ecf4 |
(Milan Berta)
|
|
Karsten Hopp |
27ecf4 |
Solution: Don't unlet b:keymap_name for ":loadkeymap". (Martin Toft)
|
|
Karsten Hopp |
27ecf4 |
Files: src/digraph.c
|
|
Karsten Hopp |
27ecf4 |
|
|
Karsten Hopp |
27ecf4 |
|
|
Karsten Hopp |
27ecf4 |
*** ../vim-7.1.021/src/digraph.c Wed May 3 00:07:11 2006
|
|
Karsten Hopp |
27ecf4 |
--- src/digraph.c Mon Jul 2 21:24:30 2007
|
|
Karsten Hopp |
27ecf4 |
***************
|
|
Karsten Hopp |
27ecf4 |
*** 2349,2356 ****
|
|
Karsten Hopp |
27ecf4 |
|
|
Karsten Hopp |
27ecf4 |
if (*curbuf->b_p_keymap == NUL)
|
|
Karsten Hopp |
27ecf4 |
{
|
|
Karsten Hopp |
27ecf4 |
! /* Stop any active keymap and clear the table. */
|
|
Karsten Hopp |
27ecf4 |
keymap_unload();
|
|
Karsten Hopp |
27ecf4 |
}
|
|
Karsten Hopp |
27ecf4 |
else
|
|
Karsten Hopp |
27ecf4 |
{
|
|
Karsten Hopp |
27ecf4 |
--- 2349,2358 ----
|
|
Karsten Hopp |
27ecf4 |
|
|
Karsten Hopp |
27ecf4 |
if (*curbuf->b_p_keymap == NUL)
|
|
Karsten Hopp |
27ecf4 |
{
|
|
Karsten Hopp |
27ecf4 |
! /* Stop any active keymap and clear the table. Also remove
|
|
Karsten Hopp |
27ecf4 |
! * b:keymap_unload, as no keymap is active now. */
|
|
Karsten Hopp |
27ecf4 |
keymap_unload();
|
|
Karsten Hopp |
27ecf4 |
+ do_cmdline_cmd((char_u *)"unlet! b:keymap_name");
|
|
Karsten Hopp |
27ecf4 |
}
|
|
Karsten Hopp |
27ecf4 |
else
|
|
Karsten Hopp |
27ecf4 |
{
|
|
Karsten Hopp |
27ecf4 |
***************
|
|
Karsten Hopp |
27ecf4 |
*** 2500,2506 ****
|
|
Karsten Hopp |
27ecf4 |
|
|
Karsten Hopp |
27ecf4 |
ga_clear(&curbuf->b_kmap_ga);
|
|
Karsten Hopp |
27ecf4 |
curbuf->b_kmap_state &= ~KEYMAP_LOADED;
|
|
Karsten Hopp |
27ecf4 |
- do_cmdline_cmd((char_u *)"unlet! b:keymap_name");
|
|
Karsten Hopp |
27ecf4 |
#ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
27ecf4 |
status_redraw_curbuf();
|
|
Karsten Hopp |
27ecf4 |
#endif
|
|
Karsten Hopp |
27ecf4 |
--- 2502,2507 ----
|
|
Karsten Hopp |
27ecf4 |
*** ../vim-7.1.021/src/version.c Fri Jul 6 19:42:09 2007
|
|
Karsten Hopp |
27ecf4 |
--- src/version.c Sat Jul 7 13:56:52 2007
|
|
Karsten Hopp |
27ecf4 |
***************
|
|
Karsten Hopp |
27ecf4 |
*** 668,669 ****
|
|
Karsten Hopp |
27ecf4 |
--- 668,671 ----
|
|
Karsten Hopp |
27ecf4 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
27ecf4 |
+ /**/
|
|
Karsten Hopp |
27ecf4 |
+ 22,
|
|
Karsten Hopp |
27ecf4 |
/**/
|
|
Karsten Hopp |
27ecf4 |
|
|
Karsten Hopp |
27ecf4 |
--
|
|
Karsten Hopp |
27ecf4 |
If your life is a hard drive,
|
|
Karsten Hopp |
27ecf4 |
Christ can be your backup.
|
|
Karsten Hopp |
27ecf4 |
|
|
Karsten Hopp |
27ecf4 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
27ecf4 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
27ecf4 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
27ecf4 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|