I created the external tool calling this command:
xemacs --batch $GEDIT_CURRENT_DOCUMENT_PATH --eval "(progn (indent-region
(point-min) (point-max) nil) (save-buffer))";
cat $GEDIT_CURRENT_DOCUMENT_PATH.
My input is nothing.
My output is replace current document.
It is working well but my output got 2 extra - not needed - empty lines at the
begining and at the end of text.
Basically when I use some command with Replace current document as output I got
this 2 empty lines.
Is it a bug? No idea to fix that?