diff options
author | Karoly Lorentey <lorentey@elte.hu> | 2006-12-03 12:15:03 +0000 |
---|---|---|
committer | Karoly Lorentey <lorentey@elte.hu> | 2006-12-03 12:15:03 +0000 |
commit | 14bcc1e098410087a837313e2fc822319ff2e8ca (patch) | |
tree | e468aebbb8d84438d81eb08bf6b77bfeaf664ea7 /lisp/progmodes/ada-xref.el | |
parent | 5665a02fd1d009506f246d5f77896e3995127954 (diff) | |
parent | 704ec54b3f2a40026ea7835b76e040c7335a56c1 (diff) | |
download | emacs-14bcc1e098410087a837313e2fc822319ff2e8ca.tar.gz emacs-14bcc1e098410087a837313e2fc822319ff2e8ca.tar.bz2 emacs-14bcc1e098410087a837313e2fc822319ff2e8ca.zip |
Merged from emacs@sv.gnu.org.
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-474
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-475
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-476
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-477
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-478
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-150
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-151
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-152
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-584
Diffstat (limited to 'lisp/progmodes/ada-xref.el')
-rw-r--r-- | lisp/progmodes/ada-xref.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el index 9e3f8e14332..05d2a8bf65b 100644 --- a/lisp/progmodes/ada-xref.el +++ b/lisp/progmodes/ada-xref.el @@ -1916,8 +1916,12 @@ is using." (set-buffer (get-buffer-create "*grep*")) (while dirs (insert (shell-command-to-string - (concat "egrep -i -h '^X|" regexp "( |$)' " - (file-name-as-directory (car dirs)) "*.ali"))) + (concat + "grep -E -i -h " + (shell-quote-argument (concat "^X|" regexp "( |$)")) + " " + (shell-quote-argument (file-name-as-directory (car dirs))) + "*.ali"))) (set 'dirs (cdr dirs))) ;; Now parse the output |