diff options
author | Roland McGrath <[email protected]> | 1991-05-11 18:07:11 +0000 |
---|---|---|
committer | Roland McGrath <[email protected]> | 1991-05-11 18:07:11 +0000 |
commit | 77176e738857197923e3083803d0eff7a8b0dfd6 (patch) | |
tree | 4ee83e653660377f1a5669e6c9f35006e8dae005 /lisp/textmodes/paragraphs.el | |
parent | 483e630e5dfea92edb1413bb95a8001c94ffe43a (diff) |
*** empty log message ***
Diffstat (limited to 'lisp/textmodes/paragraphs.el')
-rw-r--r-- | lisp/textmodes/paragraphs.el | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index 748a08e986..4241c43e7b 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el @@ -1,5 +1,5 @@ ;; Paragraph and sentence parsing. -;; Copyright (C) 1985 Free Software Foundation, Inc. +;; Copyright (C) 1985-1991 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. @@ -18,9 +18,24 @@ ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -(defvar paragraph-ignore-fill-prefix nil - "Non-nil means the paragraph commands are not affected by `fill-prefix'. -This is desirable in modes where blank lines are the paragraph delimiters.") +;;;###autoload (defconst paragraph-start "^[ \t\n\f]" +;;;###autoload "*Regexp for beginning of a line that starts OR separates paragraphs.") + +;;;###autoload (defconst paragraph-separate "^[ \t\f]*$" +;;;###autoload "*Regexp for beginning of a line that separates paragraphs. +;;;###autoload If you change this, you may have to change paragraph-start also.") + +;;;###autoload (defconst sentence-end (purecopy "[.?!][]\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*") "\ +;;;###autoload *Regexp describing the end of a sentence. +;;;###autoload All paragraph boundaries also end sentences, regardless.") + +;;;###autoload (defconst page-delimiter "^\014" "\ +;;;###autoload *Regexp describing line-beginnings that separate pages.") + +;;;###autoload (defvar paragraph-ignore-fill-prefix nil +;;;###autoload "Non-nil means the paragraph commands are not affected by `fill-prefix'. +;;;###autoload This is desirable in modes where blank lines are the paragraph delimiters.") + (defun forward-paragraph (&optional arg) "Move forward to end of paragraph. |