Subject: bug#29842: 27.0; `dired-change-marks': args should not be optional

From: Tino Calancha <[email-masked]>
Date: Thu, 28 Dec 2017 22:14:22 +0900

Drew Adams <[email-masked]> writes:

> 1. There is no use of this function in the Emacs Lisp sources that needs
>    to have the args be optional.
Yes, it has sense that the arguments be mandatory.

> 2. If (dired-change-marks) is evaluated then you get an error:
>
>    Debugger entered--Lisp error: (error "Format specifier doesn't match
>                                          argument type") 
>     format("\n%c" "nil")
>     dired-change-marks()
>     eval((dired-change-marks))
Then the programmer would get the more intuitive
'Wrong number of arguments' error.