+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):
: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'.
(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