Subject: bug#13152: 24.2.90; [REGRESSION] dired-get-marked-files changed

From: Glenn Morris <[email-masked]>
Date: Wed, 12 Dec 2012 03:13:28 -0500

Leo wrote:

> (progn
>   (require 'dired-x)
>   (setq dired-guess-shell-alist-user
>         '(("." (let ((files (dired-get-marked-files t current-prefix-arg)))
>                  (message "%S" (current-buffer))
>                  (let (dired-guess-shell-alist-user)
>                    (dired-guess-default files)))))))

When more than one file is marked, this says "no file on this line" in
24.2, and "Wrong type argument: stringp, nil" in 24.2.90. It's not
obvious to me that this matters.

> Eval (dired-get-marked-files t current-prefix-arg) in dired and
> non-dired buffers will do too.

Why does is matter what a dired command does in non-dired buffers?

> My recipe is to single out the problem of buffer changing by
> dired-get-marked-files,

I'm totally lost. Maybe someone else gets it.