emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: desktop-missing-file-warning doc


From: Lars Hansen
Subject: Re: desktop-missing-file-warning doc
Date: Sun, 14 May 2006 08:40:53 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20060423)

Luc Teirlinck wrote:

>===File ~/desktop.el-diff===================================
>*** desktop.el 13 May 2006 11:24:56 -0500      1.100
>--- desktop.el 13 May 2006 16:56:13 -0500      
>***************
>*** 201,207 ****
>    :version "22.1")
>  
>  (defcustom desktop-missing-file-warning nil
>!   "*If non-nil then `desktop-read' asks if a non-existent file should be 
>recreated.
>  Also pause for a moment to display message about errors signaled in
>  `desktop-buffer-mode-handlers'.
>  
>--- 201,207 ----
>    :version "22.1")
>  
>  (defcustom desktop-missing-file-warning nil
>!   "If non-nil,`desktop-read' offers to recreate a deleted file.
>  Also pause for a moment to display message about errors signaled in
>  `desktop-buffer-mode-handlers'.
>  
>============================================================
>  
>
This is definitely an improvement.
However, the file is not recreated, only its buffer. So maybe it should be

   If non-nil,`desktop-read' offers to recreate the buffer of a deleted
file.

But that text is to wide. Maybe

   If non-nil, offer to recreate the buffer of a deleted file.

then? Also, the prompt

   (y-or-n-p (concat msg " Re-create? "))

in desktop-restore-file-buffer should be changed to

   (y-or-n-p (concat msg " Re-create buffer? "))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]