diff options
| author | Richard M. Stallman | 1990-06-27 18:35:14 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1990-06-27 18:35:14 +0000 |
| commit | b4e6c391d8a8bc2fcb69fc2be9daf003c34e0f3f (patch) | |
| tree | 7f31f9c5728df00894e560ab5535167f45446946 | |
| parent | a5d81a4235cd69d009bac8c7bcbfa031b7f15b77 (diff) | |
| download | emacs-b4e6c391d8a8bc2fcb69fc2be9daf003c34e0f3f.tar.gz emacs-b4e6c391d8a8bc2fcb69fc2be9daf003c34e0f3f.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/textmodes/paragraphs.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index c0bd7793a10..87c14419b55 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el | |||
| @@ -130,7 +130,11 @@ negative arg -N means kill forward to Nth end of paragraph." | |||
| 130 | (forward-paragraph -1) | 130 | (forward-paragraph -1) |
| 131 | (setq npoint (point)) | 131 | (setq npoint (point)) |
| 132 | (skip-chars-forward " \t\n") | 132 | (skip-chars-forward " \t\n") |
| 133 | (if (>= (point) opoint) | 133 | ;; If the range of blank lines found spans the original start point, |
| 134 | ;; try again from the beginning of it. | ||
| 135 | ;; Must be careful to avoid infinite loop | ||
| 136 | ;; when following a single return at start of buffer. | ||
| 137 | (if (and (>= (point) opoint) (< npoint opoint)) | ||
| 134 | (progn | 138 | (progn |
| 135 | (goto-char npoint) | 139 | (goto-char npoint) |
| 136 | (if (> npoint (point-min)) | 140 | (if (> npoint (point-min)) |