From: Stefan Kangas Date: Sun, 19 Jan 2020 14:43:46 +0000 (+0100) Subject: Make arguments to dired-chage-marks non-optional X-Git-Tag: emacs-28.0.90~7908^2~98 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3d81d2326a210516496ea7b217f30cf48c897bf6;p=emacs.git Make arguments to dired-chage-marks non-optional * lisp/dired.el (dired-change-marks): Make arguments non-optional. (Bug#29842) --- diff --git a/lisp/dired.el b/lisp/dired.el index 48edd64aa12..46b35ba192d 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -3858,9 +3858,10 @@ With prefix argument, unmark or unflag these files." (if fn (backup-file-name-p fn)))) "backup file"))) -(defun dired-change-marks (&optional old new) +(defun dired-change-marks (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")) (interactive (let* ((cursor-in-echo-area t) (old (progn (message "Change (old mark): ") (read-char)))