all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.