bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#67313: [PATCH] New command write-file-no-switch


From: Eli Zaretskii
Subject: bug#67313: [PATCH] New command write-file-no-switch
Date: Fri, 24 Nov 2023 10:04:54 +0200

> From: Jeremy Bryant <jb@jeremybryant.net>
> Cc: 67313@debbugs.gnu.org
> Date: Tue, 21 Nov 2023 22:52:13 +0000
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Why is it not enough to be able to use "M-x write-region"?
> >
> > In any case, a new command is definitely overkill, IMO.
> 
> Thank you for pointing out write-region, it is indeed more appropriate,
> replacing the line above by
> 
> (write-region nil nil filename)
> 
> 
> The attached patch is the prototype of how this may be used.

Thanks.  As stated above, I'm not sure I agree we need a new command.
write-region already exists, as a command, and I personally use it
quite a lot in these cases.

Does anyone else think we need an additional command for saving a
buffer to a different file?





reply via email to

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