2005/7/1, Richard M. Stallman <[EMAIL PROTECTED]>:
> >Another option is to prompt for a file name and require confirmation if
> the
> >file already exists. It's a slightly different behavior than those other
> >"CUA-style" systems, but unsuspecting users should hopefully not find
> >it confusing, which is all we really care about.
>
> I think that is a good idea. It follows the design of Emacs,
> but it warns users who are confused.
(defun new-file (filename)
(interactive)
(let ((find-file-confirm-existing t))
(find-file filename)))
-Miles
--
Do not taunt Happy Fun Ball.
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel