emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 3d81d23: Make arguments to dired-chage-marks non-optional


From: Stefan Kangas
Subject: master 3d81d23: Make arguments to dired-chage-marks non-optional
Date: Sun, 19 Jan 2020 09:45:19 -0500 (EST)

branch: master
commit 3d81d2326a210516496ea7b217f30cf48c897bf6
Author: Stefan Kangas <address@hidden>
Commit: Stefan Kangas <address@hidden>

    Make arguments to dired-chage-marks non-optional
    
    * lisp/dired.el (dired-change-marks): Make arguments
    non-optional.  (Bug#29842)
---
 lisp/dired.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/dired.el b/lisp/dired.el
index 48edd64..46b35ba 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]