changeset 70653:019755175634

(desktop-missing-file-warning): Fix docstring. (desktop-restore-file-buffer): Correct question asked on missing file.
author Lars Hansen <larsh@soem.dk>
date Sun, 14 May 2006 20:26:12 +0000
parents fc5f994a4079
children a08c78ccc9af
files lisp/desktop.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/desktop.el	Sun May 14 11:26:20 2006 +0000
+++ b/lisp/desktop.el	Sun May 14 20:26:12 2006 +0000
@@ -201,7 +201,7 @@
   :version "22.1")
 
 (defcustom desktop-missing-file-warning nil
-  "*If non-nil then `desktop-read' asks if a non-existent file should be recreated.
+  "If non-nil, offer to recreate the buffer of a deleted file.
 Also pause for a moment to display message about errors signaled in
 `desktop-buffer-mode-handlers'.
 
@@ -943,7 +943,7 @@
               (let ((msg (format "Desktop: File \"%s\" no longer exists."
                                  desktop-buffer-file-name)))
                  (if desktop-missing-file-warning
-		     (y-or-n-p (concat msg " Re-create? "))
+		     (y-or-n-p (concat msg " Re-create buffer? "))
                    (message "%s" msg)
                    nil)))
 	  (let* ((auto-insert nil) ; Disable auto insertion