]> git.eshelyaron.com Git - emacs.git/commitdiff
(desktop-missing-file-warning): Fix docstring.
authorLars Hansen <larsh@soem.dk>
Sun, 14 May 2006 20:26:37 +0000 (20:26 +0000)
committerLars Hansen <larsh@soem.dk>
Sun, 14 May 2006 20:26:37 +0000 (20:26 +0000)
(desktop-restore-file-buffer): Correct question asked on missing file.

lisp/ChangeLog
lisp/desktop.el

index 2b209d01022f63cef3e6935522fa758dab104796..325fbd6927406bf9694fdab36f3312291a19c292 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-14 Lars Hansen <larsh@soem.dk>
+       * desktop.el (desktop-missing-file-warning): Fix docstring.
+       (desktop-restore-file-buffer): Correct question asked on missing
+       file.
+
 2006-05-14  Kim F. Storm  <storm@cua.dk>
 
        * progmodes/cc-subword.el (c-forward-subword, c-backward-subword):
index ae9142b527a9b89f7f9c5d42dbc0e4fa782617f9..8e9d09d4d32b3c0c791a76135143c4d411dfe747 100644 (file)
@@ -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