comparison lisp/textmodes/paragraphs.el @ 16757:e1c2e9a44236

(forward-paragraph, backward-paragraph): Doc fixes.
author Richard M. Stallman <rms@gnu.org>
date Thu, 26 Dec 1996 22:43:17 +0000
parents 049c87a96dca
children 834a1033dc76
comparison
equal deleted inserted replaced
16756:71113ba79b1b 16757:e1c2e9a44236
132 Non-nil means the paragraph commands are not affected by `fill-prefix'. 132 Non-nil means the paragraph commands are not affected by `fill-prefix'.
133 This is desirable in modes where blank lines are the paragraph delimiters.") 133 This is desirable in modes where blank lines are the paragraph delimiters.")
134 134
135 (defun forward-paragraph (&optional arg) 135 (defun forward-paragraph (&optional arg)
136 "Move forward to end of paragraph. 136 "Move forward to end of paragraph.
137 With arg N, do it N times; negative arg -N means move backward N paragraphs. 137 With argument ARG, do it ARG times;
138 a negative argument ARG = -N means move backward N paragraphs.
138 139
139 A line which `paragraph-start' matches either separates paragraphs 140 A line which `paragraph-start' matches either separates paragraphs
140 \(if `paragraph-separate' matches it also) or is the first line of a paragraph. 141 \(if `paragraph-separate' matches it also) or is the first line of a paragraph.
141 A paragraph end is the beginning of a line which is not part of the paragraph 142 A paragraph end is the beginning of a line which is not part of the paragraph
142 to which the end of the previous line belongs, or the end of the buffer." 143 to which the end of the previous line belongs, or the end of the buffer."
263 (goto-char start))) 264 (goto-char start)))
264 (setq arg (1- arg))))) 265 (setq arg (1- arg)))))
265 266
266 (defun backward-paragraph (&optional arg) 267 (defun backward-paragraph (&optional arg)
267 "Move backward to start of paragraph. 268 "Move backward to start of paragraph.
268 With arg N, do it N times; negative arg -N means move forward N paragraphs. 269 With argument ARG, do it ARG times;
270 a negative argument ARG = -N means move forward N paragraphs.
269 271
270 A paragraph start is the beginning of a line which is a 272 A paragraph start is the beginning of a line which is a
271 `first-line-of-paragraph' or which is ordinary text and follows a 273 `first-line-of-paragraph' or which is ordinary text and follows a
272 paragraph-separating line; except: if the first real line of a 274 paragraph-separating line; except: if the first real line of a
273 paragraph is preceded by a blank line, the paragraph starts at that 275 paragraph is preceded by a blank line, the paragraph starts at that