I'd like to insert (programmatically) some text right after the point (without moving it). I came up with this:
(save-excursion (insert "my text"))
It seems to work. Is it a good way to do what I want? E.g., are there situations where this could break? (Other than those where insert
would break anyway, like read-only buffers.) Is it different from what would more experienced Elisp hackers do?