]> git.eshelyaron.com Git - emacs.git/commitdiff
(recover-session-finish): Catch erorr in recover-file.
authorRichard M. Stallman <rms@gnu.org>
Mon, 28 Aug 1995 20:13:56 +0000 (20:13 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 28 Aug 1995 20:13:56 +0000 (20:13 +0000)
lisp/files.el

index 64f33c58e2fe56aa384d0e2afc28f058ee096512..73b9085ddf97d0245aa39c0562207df7a6fe5b3d 100644 (file)
@@ -2178,7 +2178,11 @@ This command is used in the special Dired buffer created by
          ;; or is empty if the buffer was not visiting a file.
          ;; The second line is the auto-save file name.
          (map-y-or-n-p  "Recover %s? "
-                        (lambda (file) (save-excursion (recover-file file)))
+                        (lambda (file)
+                          (condition-case nil
+                              (save-excursion (recover-file file))
+                            (error 
+                             "Failed to recover `%s'" file)))
                         (lambda ()
                           (if (eobp)
                               nil