Quote file name commands in eshell.
authorChong Yidong <cyd@gnu.org>
Sat, 28 Jan 2012 13:58:46 +0000 (21:58 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 28 Jan 2012 13:58:46 +0000 (21:58 +0800)
commit93376c5baf50aab8e5095c083ad11dcf9caff36a
tree5c0bce5e5ae9ddeece76c77c99af0f5d67e544ff
parent8c6e1920922a40d25b440478af6ea5c52ebfdf06
Quote file name commands in eshell.

* lisp/eshell/esh-arg.el (eshell-quote-argument): New function.

* lisp/eshell/esh-ext.el (eshell-invoke-batch-file):
* lisp/eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
first arg to eshell-parse-command.

Fixes: debbugs:10523
lisp/ChangeLog
lisp/eshell/em-unix.el
lisp/eshell/esh-arg.el
lisp/eshell/esh-ext.el