File: disabledby-securemodelines.dpatch

package info (click to toggle)
vim-scripts 20080722-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,352 kB
  • ctags: 2,300
  • sloc: perl: 451; sh: 370; xml: 95; makefile: 25
file content (22 lines) | stat: -rw-r--r-- 739 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /bin/sh /usr/share/dpatch/dpatch-run
## disabledby-securemodelines.dpatch by James Vega <jamessan@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad vim-scripts~/plugin/securemodelines.vim vim-scripts/plugin/securemodelines.vim
--- vim-scripts~/plugin/securemodelines.vim	2008-07-22 19:03:09.000000000 -0400
+++ vim-scripts/plugin/securemodelines.vim	2008-07-22 19:31:48.000000000 -0400
@@ -11,6 +11,11 @@
     finish
 endif
 
+if exists("g:loaded_securemodelines")
+    finish
+endif
+let g:loaded_securemodelines = 1
+
 if (! exists("g:secure_modelines_allowed_items"))
     let g:secure_modelines_allowed_items = [
                 \ "textwidth",   "tw",