1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Print a message when failing to recover a file

* lisp/files.el (recover-session-finish): Call 'message' rather than
evaluating a string and a variable without using the result.
This commit is contained in:
Pip Cet 2025-06-10 12:26:22 +00:00
parent 073d06e34e
commit f69b822fb0

View file

@ -7600,7 +7600,8 @@ This command is used in the special Dired buffer created by
(condition-case nil
(save-excursion (recover-file file))
(error
"Failed to recover `%s'" file)))
(message
"Failed to recover `%s'" file))))
files
'("file" "files" "recover"))
(message "No files can be recovered from this session now")))