diff options
| author | Richard M. Stallman | 1995-01-19 04:02:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-01-19 04:02:06 +0000 |
| commit | 650f194c5accb990c199fd802fd6778ca5b394c8 (patch) | |
| tree | e4630f97caab6bfe79c0d91f34b6e60bdec2957d | |
| parent | 2dc25e2af5a6dfbb0100cdd68e84b4e1ea1f4b0f (diff) | |
| download | emacs-650f194c5accb990c199fd802fd6778ca5b394c8.tar.gz emacs-650f194c5accb990c199fd802fd6778ca5b394c8.zip | |
(forward-paragraph): Fix end-of-buffer bug.
| -rw-r--r-- | lisp/textmodes/paragraphs.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index c85b15249f3..0edfe88c876 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el | |||
| @@ -142,8 +142,8 @@ to which the end of the previous line belongs, or the end of the buffer." | |||
| 142 | (not (looking-at-hard paragraph-separate)) | 142 | (not (looking-at-hard paragraph-separate)) |
| 143 | (looking-at fill-prefix-regexp)) | 143 | (looking-at fill-prefix-regexp)) |
| 144 | (forward-line 1)) | 144 | (forward-line 1)) |
| 145 | (while (and (not (eobp)) | 145 | (while (and (re-search-forward paragraph-start nil 1) |
| 146 | (re-search-forward paragraph-start nil 1) | 146 | (not (eobp)) |
| 147 | use-hard-newlines | 147 | use-hard-newlines |
| 148 | (null (get-text-property (1- (match-beginning 0)) 'hard))) | 148 | (null (get-text-property (1- (match-beginning 0)) 'hard))) |
| 149 | (forward-char 1)) | 149 | (forward-char 1)) |