From: Eli Zaretskii Date: Wed, 17 May 2000 11:38:40 +0000 (+0000) Subject: (command-line-1): Don't signal an error if the X-Git-Tag: emacs-pretest-21.0.90~3927 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cfc75d051e5ec460242adea351d3173bfcc36fb5;p=emacs.git (command-line-1): Don't signal an error if the directory for auto-save-list files does not yet exist. --- 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