changeset 28953:c731b3aa52d0

(command-line-1): Don't signal an error if the directory for auto-save-list files does not yet exist.
author Eli Zaretskii <eliz@gnu.org>
date Wed, 17 May 2000 11:36:49 +0000
parents dbf3b04f858a
children 66670931eb9a
files lisp/startup.el
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Wed May 17 09:16:11 2000 +0000
+++ b/lisp/startup.el	Wed May 17 11:36:49 2000 +0000
@@ -939,6 +939,11 @@
 \(`C-' means use the CTRL key.  `M-' means use the Meta (or Alt) key.
 If you have no Meta key, you may instead type ESC followed by the character.)")
 			 (and auto-save-list-file-prefix
+			      ;; Don't signal an error if the
+			      ;; directory for auto-save-list files
+			      ;; does not yet exist.
+			      (file-directory-p (file-name-directory
+						 auto-save-list-file-prefix))
 			      (directory-files
 			       (file-name-directory auto-save-list-file-prefix)
 			       nil