summaryrefslogtreecommitdiffstats
path: root/patches/source/vim/patches/7.4.284
blob: 0c9781eb92b7f6503f546489db83f9525935c2ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
To: vim_dev@googlegroups.com
Subject: Patch 7.4.284
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.4.284
Problem:    Setting 'langmap' in the modeline can cause trouble.  E.g. mapping
	    ":" breaks many commands. (Jens-Wolfhard Schicke-Uffmann)
Solution:   Disallow setting 'langmap' from the modeline.
Files:	    src/option.c


*** ../vim-7.4.283/src/option.c	2014-05-07 15:10:17.661108310 +0200
--- src/option.c	2014-05-13 12:11:39.677552445 +0200
***************
*** 1652,1658 ****
  #endif
  #endif
  				(char_u *)0L} SCRIPTID_INIT},
!     {"langmap",     "lmap", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
  #ifdef FEAT_LANGMAP
  			    (char_u *)&p_langmap, PV_NONE,
  			    {(char_u *)"",	/* unmatched } */
--- 1652,1658 ----
  #endif
  #endif
  				(char_u *)0L} SCRIPTID_INIT},
!     {"langmap",     "lmap", P_STRING|P_VI_DEF|P_COMMA|P_NODUP|P_SECURE,
  #ifdef FEAT_LANGMAP
  			    (char_u *)&p_langmap, PV_NONE,
  			    {(char_u *)"",	/* unmatched } */
*** ../vim-7.4.283/src/version.c	2014-05-09 20:33:01.102790466 +0200
--- src/version.c	2014-05-13 12:12:21.273552809 +0200
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     284,
  /**/

-- 
We are the Borg of GNU GPL.  We will assimilate your source code.
Resistance is futile.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///