]> code.delx.au - gnu-emacs/blobdiff - lisp/wdired.el
Make autoloading commands prompt for autoload file (Bug#7989)
[gnu-emacs] / lisp / wdired.el
index 11ef25d4eacc9ff2ce4890eb14e25d760b7c658b..7ac7f535910e2eb09ca7f3b9a871a8bed41dee3b 100644 (file)
@@ -540,7 +540,7 @@ and proceed depending on the answer."
   (interactive)
   (customize-apropos "wdired" 'groups))
 
-(defun wdired-revert (&optional arg noconfirm)
+(defun wdired-revert (&optional _arg _noconfirm)
   "Discard changes in the buffer and update it based on changes on disk.
 Optional arguments are ignored."
   (wdired-change-to-dired-mode)
@@ -648,7 +648,7 @@ If OLD, return the old target.  If MOVE, move point before it."
   (if (< arg 0)
       (funcall command arg)
     (while (> arg 0)
-      (condition-case err
+      (condition-case nil
           (progn
             (funcall command 1)
             (setq arg (1- arg)))