# HG changeset patch # User Lars Hansen # Date 1147638372 0 # Node ID 0197551756345f2af38e6ee18c5106f6bfe95d14 # Parent fc5f994a40796078bb89d57e1540a4114b9a3237 (desktop-missing-file-warning): Fix docstring. (desktop-restore-file-buffer): Correct question asked on missing file. diff -r fc5f994a4079 -r 019755175634 lisp/desktop.el --- 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