diff options
| author | Noah Friedman | 2000-07-24 00:28:27 +0000 |
|---|---|---|
| committer | Noah Friedman | 2000-07-24 00:28:27 +0000 |
| commit | db3ca487f6000241f1d303f255df5c6af684f786 (patch) | |
| tree | 1629c766679018b2d49f27fb5ae875ca9fe3cc5b | |
| parent | f7ad18995636bd9df8ba71b96e63e553939b6603 (diff) | |
| download | emacs-db3ca487f6000241f1d303f255df5c6af684f786.tar.gz emacs-db3ca487f6000241f1d303f255df5c6af684f786.zip | |
(menu-bar-files-menu [recover-session]): Make sure auto save directory
exists before calling directory-files.
| -rw-r--r-- | lisp/ChangeLog | 15 | ||||
| -rw-r--r-- | lisp/menu-bar.el | 4 |
2 files changed, 13 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0b8b70abc1d..73d6cbe24fb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2000-07-23 Noah Friedman <friedman@splode.com> | ||
| 2 | |||
| 3 | * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure | ||
| 4 | auto save directory exists before calling directory-files. | ||
| 5 | |||
| 1 | 2000-07-23 Dave Love <fx@gnu.org> | 6 | 2000-07-23 Dave Love <fx@gnu.org> |
| 2 | 7 | ||
| 3 | * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i, | 8 | * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i, |
| @@ -31,7 +36,7 @@ | |||
| 31 | 36 | ||
| 32 | * timer.el (run-with-idle-timer): Doc fix. | 37 | * timer.el (run-with-idle-timer): Doc fix. |
| 33 | 38 | ||
| 34 | * mail/mail-utils.el (mail-strip-quoted-names): | 39 | * mail/mail-utils.el (mail-strip-quoted-names): |
| 35 | Handle case where <...> appears inside "...". | 40 | Handle case where <...> appears inside "...". |
| 36 | Use replace-match to edit the string more simply. | 41 | Use replace-match to edit the string more simply. |
| 37 | (rmail-dont-reply-to): Cope with an unmatched ". | 42 | (rmail-dont-reply-to): Cope with an unmatched ". |
| @@ -59,8 +64,8 @@ | |||
| 59 | * gnus/parse-time.el: Correct author's mail address. | 64 | * gnus/parse-time.el: Correct author's mail address. |
| 60 | 65 | ||
| 61 | 2000-07-19 Colin Walters <walters@cis.ohio-state.edu> | 66 | 2000-07-19 Colin Walters <walters@cis.ohio-state.edu> |
| 62 | 67 | ||
| 63 | * comint.el (comint-highlight-input, comint-highlight-face): | 68 | * comint.el (comint-highlight-input, comint-highlight-face): |
| 64 | New user options. | 69 | New user options. |
| 65 | (comint-input-ring-file-name): Change custom type. | 70 | (comint-input-ring-file-name): Change custom type. |
| 66 | (comint-mode-map): Bind mouse-2. | 71 | (comint-mode-map): Bind mouse-2. |
| @@ -81,7 +86,7 @@ | |||
| 81 | 86 | ||
| 82 | * faces.el (face-font-selection-order) | 87 | * faces.el (face-font-selection-order) |
| 83 | (face-font-family-alternatives): Add custom type. | 88 | (face-font-family-alternatives): Add custom type. |
| 84 | 89 | ||
| 85 | 2000-07-18 Dave Love <fx@gnu.org> | 90 | 2000-07-18 Dave Love <fx@gnu.org> |
| 86 | 91 | ||
| 87 | * cus-edit.el (custom-variable-reset-saved) | 92 | * cus-edit.el (custom-variable-reset-saved) |
| @@ -111,7 +116,7 @@ | |||
| 111 | * recentf.el: Update from author. | 116 | * recentf.el: Update from author. |
| 112 | 117 | ||
| 113 | * info.el (Info-title-face-alist): Removed. | 118 | * info.el (Info-title-face-alist): Removed. |
| 114 | 119 | ||
| 115 | 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il> | 120 | 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il> |
| 116 | 121 | ||
| 117 | * eshell/eshell.el (eshell): Replace links to eshell.info with | 122 | * eshell/eshell.el (eshell): Replace links to eshell.info with |
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index b28b5ef4a37..9bde22e593c 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -124,7 +124,9 @@ A large number or nil slows down menu responsiveness." | |||
| 124 | (define-key menu-bar-files-menu [recover-session] | 124 | (define-key menu-bar-files-menu [recover-session] |
| 125 | '(menu-item "Recover Crashed Session..." recover-session | 125 | '(menu-item "Recover Crashed Session..." recover-session |
| 126 | :enable (and auto-save-list-file-prefix | 126 | :enable (and auto-save-list-file-prefix |
| 127 | (directory-files | 127 | (file-directory-p |
| 128 | (file-name-directory auto-save-list-file-prefix)) | ||
| 129 | (directory-files | ||
| 128 | (file-name-directory auto-save-list-file-prefix) | 130 | (file-name-directory auto-save-list-file-prefix) |
| 129 | nil | 131 | nil |
| 130 | (concat "\\`" | 132 | (concat "\\`" |