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.
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 thereplace
argument ofshell-command-on-region
according to http://stackoverflow.com/a/8116695.