diff .elisp/textmate.el @ 99:26450200777a

Latest textmate.el
author Augie Fackler <durin42@gmail.com>
date Sun, 03 May 2009 22:46:07 -0500
parents 60dbe5b005cc
children fe9d358b9fe8
line wrap: on
line diff
--- a/.elisp/textmate.el
+++ b/.elisp/textmate.el
@@ -221,12 +221,13 @@
                                  ((string= type "hg") "hg manifest"))
                            " | xargs grep -nR "
                            (if pattern (concat " --include='" pattern "' ") "")
+                           " -- "
                            (shell-quote-argument re)))
                   (t (concat "cd " root "; egrep -nR --exclude='"
                             *textmate-gf-exclude*
                             "' --include='"
                             incpat
-                            "' "
+                            "' -- "
                             (shell-quote-argument re)
                             " . | grep -vE '"
                             *textmate-gf-exclude*