Subject: bug#7112: 24.0.50; [PATCH] `ls-lisp-insert-directory' should be no-op for empty FILE

From: Lars Magne Ingebrigtsen <[email-masked]>
Date: Wed, 13 Jul 2011 15:18:43 +0200

"Drew Adams" <[email-masked]> writes:

> You can call `dired' passing a cons arg that includes a list of file
> names.  An empty file name causes this ugly error: 
>
> (error "Args out of range: \"\", -1")
>
> The reason is the following code near the end of
> `ls-lisp-insert-directory':

I think this should most likely be fixed in the caller (i.e., in
dired.el).  What's the backtrace for this bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/