summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2000-05-17 11:38:40 +0000
committerEli Zaretskii <eliz@gnu.org>2000-05-17 11:38:40 +0000
commitcfc75d051e5ec460242adea351d3173bfcc36fb5 (patch)
treeb131a916fd961218c5a245c7f0f56eda039aa7b7 /lisp/startup.el
parenta4776185ab4499af39dda16274b98bea006c95f9 (diff)
downloademacs-cfc75d051e5ec460242adea351d3173bfcc36fb5.tar.gz
(command-line-1): Don't signal an error if the
directory for auto-save-list files does not yet exist.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 75559d1d955..510a529581e 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -939,6 +939,11 @@ Mode-specific menu C-mouse-3 (third button, with CTRL)"))
\(`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