emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/longlines.el


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/longlines.el
Date: Sun, 20 Nov 2005 00:17:28 -0500

Index: emacs/lisp/longlines.el
diff -c emacs/lisp/longlines.el:1.19 emacs/lisp/longlines.el:1.20
*** emacs/lisp/longlines.el:1.19        Sun Nov 20 03:44:00 2005
--- emacs/lisp/longlines.el     Sun Nov 20 05:17:27 2005
***************
*** 239,247 ****
  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)
               nil)
      (if (longlines-merge-lines-p)
          (progn (end-of-line)
--- 239,248 ----
  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 (insert-before-markers ?\n)
!            (backward-char 1)
!              (delete-char -1)
!            (forward-char 1)
               nil)
      (if (longlines-merge-lines-p)
          (progn (end-of-line)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]