--- longlines.el 11 Jul 2005 00:37:43 +0200 1.8 +++ longlines.el 12 Jul 2005 01:32:25 +0200 @@ -207,9 +207,10 @@ If wrapping is performed, point remains on the line. If the line does not need to be wrapped, move point to the next line and return t." (if (longlines-set-breakpoint) - (progn (backward-char 1) - (delete-char 1) - (insert-char ?\n 1) + (progn (insert-before-markers "\n") + (backward-char 1) + (delete-char -1) + (forward-char 1) nil) (if (longlines-merge-lines-p) (progn (end-of-line)