From: Richard M. Stallman Date: Wed, 2 Oct 1996 10:26:51 +0000 (+0000) Subject: (recover-session): Error if session files turned off. X-Git-Tag: emacs-20.1~3572 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=363a5030a656d04cf6e3616a8d0397e6c3b15766;p=emacs.git (recover-session): Error if session files turned off. --- diff --git a/lisp/files.el b/lisp/files.el index a013c91855b..d99b42476bd 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2304,6 +2304,8 @@ previous sessions that you could recover from. 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))