Commit cee723fb authored by Chong Yidong's avatar Chong Yidong
Browse files

longlines.el (longlines-wrap-line): Preserve marker positions.

parent 1271a058
......@@ -5,6 +5,7 @@
(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 <>
......@@ -239,9 +239,10 @@ end of the buffer."
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)
(if (longlines-merge-lines-p)
(progn (end-of-line)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment