diff options
| author | Stefan Monnier | 2006-04-26 05:28:47 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2006-04-26 05:28:47 +0000 |
| commit | 49011d46973dde1c699484fbd3607df10ee78145 (patch) | |
| tree | 4d2e777127b2f835164d1d387689a9dcf89e9784 | |
| parent | a1c43d02e9a4c6aba699951ab0768ca120f3cb59 (diff) | |
| download | emacs-49011d46973dde1c699484fbd3607df10ee78145.tar.gz emacs-49011d46973dde1c699484fbd3607df10ee78145.zip | |
(sentence-end-double-space, sentence-end-without-period)
(sentence-end-without-space, page-delimiter, paragraph-ignore-fill-prefix):
Tighten up a bit the safety predicate.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/paragraphs.el | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 045bae9ed60..823c4831a72 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * textmodes/paragraphs.el (sentence-end-double-space) | ||
| 4 | (sentence-end-without-period, sentence-end-without-space) | ||
| 5 | (page-delimiter, paragraph-ignore-fill-prefix): | ||
| 6 | Tighten up a bit the safety predicate. | ||
| 7 | |||
| 3 | * textmodes/fill.el (colon-double-space): Tighten up the safety pred. | 8 | * textmodes/fill.el (colon-double-space): Tighten up the safety pred. |
| 4 | 9 | ||
| 5 | * progmodes/python.el (python-continuation-line-p) | 10 | * progmodes/python.el (python-continuation-line-p) |
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index 6693be4e0c9..9e7d02182ef 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el | |||
| @@ -128,7 +128,7 @@ regexp describing the end of a sentence, when the value of the variable | |||
| 128 | `sentence-end' is nil. See Info node `(elisp)Standard Regexps'." | 128 | `sentence-end' is nil. See Info node `(elisp)Standard Regexps'." |
| 129 | :type 'boolean | 129 | :type 'boolean |
| 130 | :group 'fill) | 130 | :group 'fill) |
| 131 | ;;;###autoload(put 'sentence-end-double-space 'safe-local-variable t) | 131 | ;;;###autoload(put 'sentence-end-double-space 'safe-local-variable 'symbolp) |
| 132 | 132 | ||
| 133 | (defcustom sentence-end-without-period nil | 133 | (defcustom sentence-end-without-period nil |
| 134 | "*Non-nil means a sentence will end without a period. | 134 | "*Non-nil means a sentence will end without a period. |
| @@ -140,7 +140,7 @@ regexp describing the end of a sentence, when the value of the variable | |||
| 140 | `sentence-end' is nil. See Info node `(elisp)Standard Regexps'." | 140 | `sentence-end' is nil. See Info node `(elisp)Standard Regexps'." |
| 141 | :type 'boolean | 141 | :type 'boolean |
| 142 | :group 'fill) | 142 | :group 'fill) |
| 143 | ;;;###autoload(put 'sentence-end-without-period 'safe-local-variable t) | 143 | ;;;###autoload(put 'sentence-end-without-period 'safe-local-variable 'symbolp) |
| 144 | 144 | ||
| 145 | (defcustom sentence-end-without-space | 145 | (defcustom sentence-end-without-space |
| 146 | "$B!#!%!)!*$A!##.#?#!$(0!$!%!)!*$(G!$!%!)!*(B" | 146 | "$B!#!%!)!*$A!##.#?#!$(0!$!%!)!*$(G!$!%!)!*(B" |
| @@ -151,7 +151,7 @@ regexp describing the end of a sentence, when the value of the variable | |||
| 151 | `sentence-end' is nil. See Info node `(elisp)Standard Regexps'." | 151 | `sentence-end' is nil. See Info node `(elisp)Standard Regexps'." |
| 152 | :group 'paragraphs | 152 | :group 'paragraphs |
| 153 | :type 'string) | 153 | :type 'string) |
| 154 | ;;;###autoload(put 'sentence-end-without-space 'safe-local-variable t) | 154 | ;;;###autoload(put 'sentence-end-without-space 'safe-local-variable 'symbolp) |
| 155 | 155 | ||
| 156 | (defcustom sentence-end nil | 156 | (defcustom sentence-end nil |
| 157 | "*Regexp describing the end of a sentence. | 157 | "*Regexp describing the end of a sentence. |
| @@ -198,14 +198,14 @@ in between. See Info node `(elisp)Standard Regexps'." | |||
| 198 | "*Regexp describing line-beginnings that separate pages." | 198 | "*Regexp describing line-beginnings that separate pages." |
| 199 | :group 'paragraphs | 199 | :group 'paragraphs |
| 200 | :type 'regexp) | 200 | :type 'regexp) |
| 201 | ;;;###autoload(put 'page-delimiter 'safe-local-variable t) | 201 | ;;;###autoload(put 'page-delimiter 'safe-local-variable 'stringp) |
| 202 | 202 | ||
| 203 | (defcustom paragraph-ignore-fill-prefix nil | 203 | (defcustom paragraph-ignore-fill-prefix nil |
| 204 | "*Non-nil means the paragraph commands are not affected by `fill-prefix'. | 204 | "*Non-nil means the paragraph commands are not affected by `fill-prefix'. |
| 205 | This is desirable in modes where blank lines are the paragraph delimiters." | 205 | This is desirable in modes where blank lines are the paragraph delimiters." |
| 206 | :group 'paragraphs | 206 | :group 'paragraphs |
| 207 | :type 'boolean) | 207 | :type 'boolean) |
| 208 | ;;;###autoload(put 'paragraph-ignore-fill-prefix 'safe-local-variable t) | 208 | ;;;###autoload(put 'paragraph-ignore-fill-prefix 'safe-local-variable 'symbolp) |
| 209 | 209 | ||
| 210 | (defun forward-paragraph (&optional arg) | 210 | (defun forward-paragraph (&optional arg) |
| 211 | "Move forward to end of paragraph. | 211 | "Move forward to end of paragraph. |