Subject: Re: bug#48456: Revert Dired after copy/rename

From: "Basil L. Contovounesios" <[email-masked]>
Date: Fri, 21 May 2021 21:08:33 +0100

Juri Linkov <[email-masked]> writes:

>> It seems better to create a new option:
>>
>> diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
>> index eb43ab187d..5df4d6b206 100644
>> --- a/lisp/dired-aux.el
>> +++ b/lisp/dired-aux.el
>> @@ -2065,6 +2065,24 @@ dired-create-files
>> +(defcustom dired-do-revert-buffer nil
>
> Now pushed to master and closed.

Thanks, but I now see:

  Test dired-test-bug30624 condition:
      (ert-test-failed
       ((should
         (dired-do-create-files 'copy 'dired-copy-file "Copy" nil))
        :form
        (dired-do-create-files copy dired-copy-file "Copy" nil)
        :value nil))

Should the 'should' be removed?  AFAICT the return value of
dired-do-create-files is unspecified (and unused).

-- 
Basil