File: disabledby-xml.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 (19 lines) | stat: -rw-r--r-- 703 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh /usr/share/dpatch/dpatch-run
## disabledby-xml.dpatch by Stefano Zacchiroli <zack@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad vim-scripts~/ftplugin/xml.vim vim-scripts/ftplugin/xml.vim
--- vim-scripts~/ftplugin/xml.vim	2007-01-17 16:05:03.000000000 +0100
+++ vim-scripts/ftplugin/xml.vim	2007-01-27 09:48:34.000000000 +0100
@@ -44,7 +44,7 @@
 "==============================================================================
 
 " Only do this when not done yet for this buffer
-if exists("b:did_ftplugin")
+if exists("b:did_ftplugin") || exists("loaded_xml_ftplugin")
   finish
 endif
 let b:did_ftplugin = 1