[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/textmodes/fill.el
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/textmodes/fill.el |
Date: |
Fri, 21 Oct 2005 04:50:28 -0400 |
Index: emacs/lisp/textmodes/fill.el
diff -c emacs/lisp/textmodes/fill.el:1.181 emacs/lisp/textmodes/fill.el:1.182
*** emacs/lisp/textmodes/fill.el:1.181 Tue Aug 9 14:01:29 2005
--- emacs/lisp/textmodes/fill.el Fri Oct 21 08:50:28 2005
***************
*** 344,356 ****
;; it at the end of the line.
(and sentence-end-double-space
(save-excursion
! (skip-chars-backward ". ")
! (looking-at "\\. \\([^ ]\\|$\\)")))
;; Another approach to the same problem.
(save-excursion
! (skip-chars-backward ". ")
! (and (looking-at "\\.")
! (not (looking-at (sentence-end)))))
;; Don't split a line if the rest would look like a new paragraph.
(unless use-hard-newlines
(save-excursion
--- 344,357 ----
;; it at the end of the line.
(and sentence-end-double-space
(save-excursion
! (skip-chars-backward " ")
! (and (eq (preceding-char) ?.)
! (looking-at " \\([^ ]\\|$\\)"))))
;; Another approach to the same problem.
(save-excursion
! (skip-chars-backward " ")
! (and (eq (preceding-char) ?.)
! (not (progn (forward-char -1) (looking-at (sentence-end))))))
;; Don't split a line if the rest would look like a new paragraph.
(unless use-hard-newlines
(save-excursion
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/textmodes/fill.el,
Juri Linkov <=