JoshCheek / seeing_is_believing

Displays the results of every line of code in your file
1.31k stars 54 forks source link

emacs integration should preserve point #61

Closed bjmllr closed 9 years ago

bjmllr commented 9 years ago

The current integration can cause the point to be moved, for example to the top of the file if the entire file is being annotated. This change returns point to its original position after annotation. I didn't use save-excursion because it's defeated by using the replace argument of shell-command-on-region according to http://stackoverflow.com/a/8116695.

JoshCheek commented 9 years ago

Nice, thank you!