changeset 12764:69dcdd99fd8d

(command-line-1): Mention recover-session if there's a .saves file.
author Richard M. Stallman <rms@gnu.org>
date Thu, 03 Aug 1995 22:29:44 +0000
parents b8e986069a58
children 27b568b455b1
files lisp/startup.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Thu Aug 03 17:39:53 1995 +0000
+++ b/lisp/startup.el	Thu Aug 03 22:29:44 1995 +0000
@@ -645,6 +645,12 @@
 GNU Emacs comes with ABSOLUTELY NO WARRANTY; type \\[describe-no-warranty] for full details.
 You may give out copies of Emacs; type \\[describe-copying] to see the conditions.
 Type \\[describe-distribution] for information on getting the latest version.")))
+
+		   (if (directory-files "~/" nil "\\`\\.saves-" t)
+		       (insert "\n\nIf an Emacs session crashed recently,\n"
+			       "type M-x recover-session RET to recover"
+			       " the files you were editing.))
+
 		   (set-buffer-modified-p nil)
 		   (sit-for 120))
 	       (save-excursion