From cfc75d051e5ec460242adea351d3173bfcc36fb5 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 17 May 2000 11:38:40 +0000 Subject: [PATCH] (command-line-1): Don't signal an error if the directory for auto-save-list files does not yet exist. --- lisp/ChangeLog | 5 +++++ lisp/startup.el | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 83e692ec238..189f91aa895 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2000-05-17 Eli Zaretskii + + * startup.el (command-line-1): Don't signal an error if the + directory for auto-save-list files does not yet exist. + 2000-05-17 Kenichi Handa * international/mule-conf.el (arabic-iso8859-6): Fix typo. 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 -- 2.39.5