Commit 6c27fdb9 authored by Lars Hansen's avatar Lars Hansen

(desktop-missing-file-warning): Fix docstring.

(desktop-restore-file-buffer): Correct question asked on missing file.
parent 79fb0ab7
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):
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment