Mercurial > emacs
changeset 14387:9c3c642de62a
(dired-get-filename): When quoting " chars,
handle all of them, including one at start of file name.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 27 Jan 1996 02:18:29 +0000 |
parents | 4e5b28d28a5f |
children | b7708fc4d023 |
files | lisp/dired.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired.el Sat Jan 27 00:14:59 1996 +0000 +++ b/lisp/dired.el Sat Jan 27 02:18:29 1996 +0000 @@ -1199,7 +1199,7 @@ ;; some ls -b don't escape quotes, argh! ;; This is not needed for GNU ls, though. (or (dired-string-replace-match - "\\([^\\]\\)\"" file "\\1\\\\\"") + "\\([^\\]\\|\\`\\)\"" file "\\1\\\\\"" nil t) file) "\""))))) (if (eq localp 'no-dir)