mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(recover-session): Error if session files turned off.
This commit is contained in:
parent
7af7ef389a
commit
363a5030a6
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user