* lisp/dired.el (dired-change-marks): Fix my previous broken attempt
to declare advertised-calling-convention.
(if fn (backup-file-name-p fn))))
"backup file")))
-(defun dired-change-marks (old new)
+(defun dired-change-marks (&optional old new)
"Change all OLD marks to NEW marks.
OLD and NEW are both characters used to mark files."
- (declare (advertised-calling-convention '(old new) "28.1"))
+ (declare (advertised-calling-convention (old new) "28.1"))
(interactive
(let* ((cursor-in-echo-area t)
(old (progn (message "Change (old mark): ") (read-char)))