unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Does one need save-excursion with delete-region
@ 2021-05-20 14:02 pauline-galea
  2021-05-21 19:57 ` Filipp Gunbin
  0 siblings, 1 reply; 3+ messages in thread
From: pauline-galea @ 2021-05-20 14:02 UTC (permalink / raw)
  To: Help Gnu Emacs

Does one need save-excursion with delete-region so that the cursor
remains at the same position.

(save-excursion (delete-region (point) c))




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-21 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-20 14:02 Does one need save-excursion with delete-region pauline-galea
2021-05-21 19:57 ` Filipp Gunbin
2021-05-21 20:04   ` Emanuel Berg via Users list for the GNU Emacs text editor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).