Commit 95127745 authored by Karl Heuer's avatar Karl Heuer
Browse files

(command-line-1): Don't explain recover-session if

auto-save-list-file-prefix is nil.
parent 09d13f4c
......@@ -732,16 +732,17 @@ Type \\[info] to enter Info, which you can use to read GNU documentation."
(if window-system
(insert "\n
C-mouse-3 (third mouse button, with Control) gets a mode-specific menu."))
(if (directory-files (file-name-directory auto-save-list-file-prefix)
nil
(concat "\\`"
(regexp-quote
(file-name-nondirectory
auto-save-list-file-prefix)))
t)
(insert "\n\nIf an Emacs session crashed recently,\n"
"type M-x recover-session RET to recover"
" the files you were editing."))
(and auto-save-list-file-prefix
(directory-files
(file-name-directory auto-save-list-file-prefix)
nil
(concat "\\`"
(regexp-quote (file-name-nondirectory
auto-save-list-file-prefix)))
t)
(insert "\n\nIf an Emacs session crashed recently,\n"
"type M-x recover-session RET to recover"
" the files you were editing."))
(if (and (eq (key-binding "\C-h\C-c") 'describe-copying)
(eq (key-binding "\C-h\C-d") 'describe-distribution)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment