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

From: Leo Liu <[email-masked]>
Date: Tue, 08 Jan 2013 19:02:18 +0800

On 2013-01-07 10:38 +0800, Leo Liu wrote:
> Eval (dired-get-marked-files t current-prefix-arg) in non dired buffers
> threw an error in the released emacsen, which is a more reasonable thing
> to do.
>
> In the pretest it returns (nil).

The incompatibility is introduced by this change:

Author: Juri Linkov <[email-masked]>
Date:   Wed Sep 19 23:09:55 2012 +0300

    * lisp/dired-aux.el (dired-diff): Add (require 'diff) because
    `diff-latest-backup-file' is not autoloaded.
    (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
    of `dired-get-filename' to t to not report error when there is
    no default file on the current line.

Juri, could you take a look? thanks.

Leo