Debian Codegraph @

debian/patches/0023-Fix-use-cpo-save.patch

raw
1 From 66eb26d1b074c045e5407589dc2b05b00a96476f Mon Sep 17 00:00:00 2001
2 From: haya14busa <[email protected]>
3 Date: Sun, 15 Dec 2013 12:07:51 +0900
4 Subject: [PATCH 23/36] Fix: use-cpo-save
5
6 aboid side effect
7 ---
8 tools/migemo.vim | 8 +++++++-
9 1 file changed, 7 insertions(+), 1 deletion(-)
10
11 diff --git a/tools/migemo.vim b/tools/migemo.vim
12 index 62e09d9..9c6eb77 100644
13 --- a/tools/migemo.vim
14 +++ b/tools/migemo.vim
15 @@ -5,7 +5,7 @@
16 "
17 " Maintainer: MURAOKA Taro <[email protected]>
18 " Modified: Yasuhiro Matsumoto <[email protected]>
19 -" Last Change: 11-Dec-2013.
20 +" Last Change: 15-Dec-2013.
21
22 " Japanese Description:
23
24 @@ -13,6 +13,9 @@ if exists('plugin_migemo_disable')
25 finish
26 endif
27
28 +let s:save_cpo = &cpo
29 +set cpo&vim
30 +
31 function! s:SearchDict2(name)
32 let path = $VIM . ',' . &runtimepath
33 let dict = globpath(path, "dict/".a:name)
34 @@ -98,3 +101,6 @@ else
35 endif
36 endfunction
37 endif
38 +
39 +let &cpo = s:save_cpo
40 +unlet s:save_cpo
41 --
42 2.39.2
43