From 6c27fdb95db3c21882adde04366ae25a01c3c896 Mon Sep 17 00:00:00 2001 From: Lars Hansen Date: Sun, 14 May 2006 20:26:37 +0000 Subject: [PATCH] (desktop-missing-file-warning): Fix docstring. (desktop-restore-file-buffer): Correct question asked on missing file. --- lisp/ChangeLog | 5 +++++ lisp/desktop.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2b209d01022..325fbd69274 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-05-14 Lars Hansen + * desktop.el (desktop-missing-file-warning): Fix docstring. + (desktop-restore-file-buffer): Correct question asked on missing + file. + 2006-05-14 Kim F. Storm * progmodes/cc-subword.el (c-forward-subword, c-backward-subword): diff --git a/lisp/desktop.el b/lisp/desktop.el index ae9142b527a..8e9d09d4d32 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -201,7 +201,7 @@ The base name of the file is specified in `desktop-base-file-name'." :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 @@ directory DIRNAME." (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 -- 2.39.5