save-mark-and-excursion should be used instead of save-excursion. From emacs 25 onwards, save-excursion does not save the mark and so the region drags do not work any more. That is fixed in this commit. This commit should also not break in older emacsen.
save-mark-and-excursion
should be used instead ofsave-excursion
. From emacs 25 onwards,save-excursion
does not save the mark and so the region drags do not work any more. That is fixed in this commit. This commit should also not break in older emacsen.Source for fixes: