# HG changeset patch # User Richard M. Stallman # Date 844252011 0 # Node ID e311d5372d8c9d3bf4d9f8191f0394803ac5f3c9 # Parent 906cef1d36bd374e972ce656c4d8de9b147e39a2 (recover-session): Error if session files turned off. diff -r 906cef1d36bd -r e311d5372d8c lisp/files.el --- a/lisp/files.el Wed Oct 02 01:03:22 1996 +0000 +++ b/lisp/files.el Wed Oct 02 10:26:51 1996 +0000 @@ -2304,6 +2304,8 @@ To choose one, move point to the proper line and then type C-c C-c. Then you'll be asked about a number of files to recover." (interactive) + (if (null auto-save-list-file-prefix) + (error "You set `auto-save-list-file-prefix' to disable making session files")) (let ((ls-lisp-support-shell-wildcards t)) (dired (concat auto-save-list-file-prefix "*"))) (goto-char (point-min))