summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-07-01 07:13:55 +0000
committerGlenn Morris <rgm@gnu.org>2009-07-01 07:13:55 +0000
commit3f150a6009fb53d650921d77288b578401a79b61 (patch)
tree2d787687eee147c4c84bc505ac72718d2528b9f5 /lisp/progmodes
parentb0d5b05b13bce863dbc278127baf36162e2dbebd (diff)
downloademacs-3f150a6009fb53d650921d77288b578401a79b61.tar.gz
(f90-break-delimiters, f90-no-break-re): Doc fixes.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/f90.el18
1 files changed, 10 insertions, 8 deletions
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index bc57db13fda..0b011af9eb5 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -254,9 +254,10 @@ additionally blinks the cursor to the start of the block."
(defcustom f90-break-delimiters "[-+\\*/><=,% \t]"
"Regexp matching delimiter characters at which lines may be broken.
-There are certain tokens comprised entirely of characters
-matching this regexp that should not be split, and these are
-specified by the constant `f90-no-break-re'."
+There are some common two-character tokens where one or more of
+the members matches this regexp. Although Fortran allows breaks
+within lexical tokens (provided the next line has a beginning ampersand),
+the constant `f90-no-break-re' ensures that such tokens are not split."
:type 'regexp
:group 'f90)
(put 'f90-break-delimiters 'safe-local-variable 'stringp)
@@ -824,11 +825,12 @@ Can be overridden by the value of `font-lock-maximum-decoration'.")
(defconst f90-no-break-re
(regexp-opt '("**" "//" "=>" ">=" "<=" "==" "/=" "(/" "/)") 'paren)
- "Regexp specifying where not to break lines when filling.
-This regexp matches certain tokens comprised entirely of
-characters matching the regexp `f90-break-delimiters' that should
-not be split by filling. Each element is assumed to be two
-characters long.")
+ "Regexp specifying two-character tokens not to split when breaking lines.
+Each token has one or more of the characters from `f90-break-delimiters'.
+Note that if only one of the characters is from that variable,
+then the presence of the token here allows a line-break before or
+after the other character, where a break would not normally be
+allowed. This minor issue currently only affects \"(/\" and \"/)\".")
(defvar f90-cache-position nil
"Temporary position used to speed up region operations.")