changeset 99:26450200777a

Latest textmate.el
author Augie Fackler <durin42@gmail.com>
date Sun, 03 May 2009 22:46:07 -0500
parents 8aa70b521063
children 9d09939f1100 0c1db2df2bf8
files .elisp/textmate.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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*