(longlines-mode): Turn off longlines temporarily when reverting.
Add a message-setup-hook.
(longlines-decode-buffer): New function.
+ (longlines-wrap-line): Preserve marker positions.
2005-11-19 Andreas Schwab <schwab@suse.de>
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)