summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-12-16 01:33:02 +0000
committerRichard M. Stallman <rms@gnu.org>1996-12-16 01:33:02 +0000
commit07471e2029c1acac416d6eef94882a132be5c1a2 (patch)
tree6c5ce2c7208a524567b235dbe8ef27539d0d551e /lisp/textmodes
parent88b568b8739098450279ab4cc41c80f4b112cb85 (diff)
downloademacs-07471e2029c1acac416d6eef94882a132be5c1a2.tar.gz
Change defconsts to defvars.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/fill.el12
-rw-r--r--lisp/textmodes/paragraphs.el8
2 files changed, 10 insertions, 10 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index fd6db93ccd4..17237a4a235 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -28,17 +28,17 @@
;;; Code:
-(defconst fill-individual-varying-indent nil
+(defvar fill-individual-varying-indent nil
"*Controls criterion for a new paragraph in `fill-individual-paragraphs'.
Non-nil means changing indent doesn't end a paragraph.
That mode can handle paragraphs with extra indentation on the first line,
but it requires separator lines between paragraphs.
A value of nil means that any change in indentation starts a new paragraph.")
-(defconst sentence-end-double-space t
+(defvar sentence-end-double-space t
"*Non-nil means a single space does not end a sentence.")
-(defconst colon-double-space nil
+(defvar colon-double-space nil
"*Non-nil means put two spaces after a colon when filling.")
(defvar fill-paragraph-function nil
@@ -59,10 +59,10 @@ reinserts the fill prefix in each resulting line."
(message "fill-prefix: \"%s\"" fill-prefix)
(message "fill-prefix cancelled")))
-(defconst adaptive-fill-mode t
+(defvar adaptive-fill-mode t
"*Non-nil means determine a paragraph's fill prefix from its text.")
-(defconst adaptive-fill-regexp "[ \t]*\\([#;>*]+ +\\)?"
+(defvar adaptive-fill-regexp "[ \t]*\\([#;>*]+ +\\)?"
"*Regexp to match text at start of line that constitutes indentation.
If Adaptive Fill mode is enabled, whatever text matches this pattern
on the second line of a paragraph is used as the standard indentation
@@ -472,7 +472,7 @@ space does not end a sentence, so don't break a line there."
(goto-char end)))))))
-(defconst default-justification 'left
+(defvar default-justification 'left
"*Method of justifying text not otherwise specified.
Possible values are `left', `right', `full', `center', or `none'.
The requested kind of justification is done whenever lines are filled.
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el
index 775f0ea72a9..7948723d963 100644
--- a/lisp/textmodes/paragraphs.el
+++ b/lisp/textmodes/paragraphs.el
@@ -85,7 +85,7 @@ to paragraphs. The fill functions insert and delete only soft newlines."
(point) (1+ (point))))))))))))
(setq use-hard-newlines t)))
-(defconst paragraph-start "[ \t\n\f]" "\
+(defvar paragraph-start "[ \t\n\f]" "\
*Regexp for beginning of a line that starts OR separates paragraphs.
This regexp should match lines that separate paragraphs
and should also match lines that start a paragraph
@@ -108,7 +108,7 @@ hard newline are considered to match.")
;; something very minimal, even including "." (which makes every hard newline
;; start a new paragraph).
-(defconst paragraph-separate "[ \t\f]*$" "\
+(defvar paragraph-separate "[ \t\f]*$" "\
*Regexp for beginning of a line that separates paragraphs.
If you change this, you may have to change paragraph-start also.
@@ -117,7 +117,7 @@ the beginning of the line, so it should not use \"^\" as an anchor. This
ensures that the paragraph functions will work equally within a region of
text indented by a margin setting.")
-(defconst sentence-end (purecopy "[.?!][]\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*") "\
+(defvar sentence-end (purecopy "[.?!][]\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*") "\
*Regexp describing the end of a sentence.
All paragraph boundaries also end sentences, regardless.
@@ -125,7 +125,7 @@ In order to be recognized as the end of a sentence, the ending period,
question mark, or exclamation point must be followed by two spaces,
unless it's inside some sort of quotes or parenthesis.")
-(defconst page-delimiter "^\014" "\
+(defvar page-delimiter "^\014" "\
*Regexp describing line-beginnings that separate pages.")
(defvar paragraph-ignore-fill-prefix nil "\