comparison lisp/textmodes/fill.el @ 25126:9b5a39995216

(fill-context-prefix): Doc fix.
author Karl Heuer <kwzh@gnu.org>
date Fri, 30 Jul 1999 14:31:57 +0000
parents 4b9caa006ac3
children 864a4f79195b
comparison
equal deleted inserted replaced
25125:8282b2b596a2 25126:9b5a39995216
182 ;; of the line and wants it to stay at the end of the line. 182 ;; of the line and wants it to stay at the end of the line.
183 (insert-before-markers-and-inherit ? )))) 183 (insert-before-markers-and-inherit ? ))))
184 184
185 (defun fill-context-prefix (from to &optional first-line-regexp) 185 (defun fill-context-prefix (from to &optional first-line-regexp)
186 "Compute a fill prefix from the text between FROM and TO. 186 "Compute a fill prefix from the text between FROM and TO.
187 This uses the variables `adaptive-fill-prefix' and `adaptive-fill-function' 187 This uses the variables `adaptive-fill-regexp' and `adaptive-fill-function'
188 and `adaptive-fill-first-line-regexp'. `paragraph-start' also plays a role; 188 and `adaptive-fill-first-line-regexp'. `paragraph-start' also plays a role;
189 we reject a prefix based on a one-line paragraph if that prefix would 189 we reject a prefix based on a one-line paragraph if that prefix would
190 act as a paragraph-separator." 190 act as a paragraph-separator."
191 (or first-line-regexp 191 (or first-line-regexp
192 (setq first-line-regexp adaptive-fill-first-line-regexp)) 192 (setq first-line-regexp adaptive-fill-first-line-regexp))