aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-11-23 18:36:22 +0000
committerStefan Monnier2006-11-23 18:36:22 +0000
commit6b28caea07879860836a5194a4e7aad769b1f5d6 (patch)
treef48437e84c182eb518a13009224d4147f47569ab
parent312d24fbde1d80e5ea823de511eb362f16bac582 (diff)
downloademacs-6b28caea07879860836a5194a4e7aad769b1f5d6.tar.gz
emacs-6b28caea07879860836a5194a4e7aad769b1f5d6.zip
(Multiline Font Lock): Rephrase some parts for clarity.
-rw-r--r--lispref/ChangeLog4
-rw-r--r--lispref/modes.texi21
2 files changed, 16 insertions, 9 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 9f87f71416b..f07016138f8 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,7 @@
12006-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * modes.texi (Multiline Font Lock): Rephrase some parts for clarity.
4
12006-11-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 52006-11-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2 6
3 * frames.texi (Window System Selections): Remove clipboard from 7 * frames.texi (Window System Selections): Remove clipboard from
diff --git a/lispref/modes.texi b/lispref/modes.texi
index d6af11434b9..4f68bb5064b 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -3067,16 +3067,19 @@ will rehighlight the whole construct if any part of it is changed. In
3067some cases you can do this automatically by setting the 3067some cases you can do this automatically by setting the
3068@code{font-lock-multiline} variable, which see. 3068@code{font-lock-multiline} variable, which see.
3069@item 3069@item
3070Rely on @code{jit-lock-contextually}. This will only rehighlight the part 3070Make sure @code{jit-lock-contextually} is set and rely on it doing its
3071of the construct that follows the actual change, and will do it after 3071job. This will only rehighlight the part of the construct that
3072a short delay. This only works if the highlighting of the various 3072follows the actual change, and will do it after a short delay.
3073parts of your multiline construct never depends on text in subsequent 3073This only works if the highlighting of the various parts of your
3074lines. Since @code{jit-lock-contextually} is activated by default, 3074multiline construct never depends on text in subsequent lines.
3075this can be an attractive solution. 3075Since @code{jit-lock-contextually} is activated by default, this can
3076be an attractive solution.
3076@item 3077@item
3077Place a @code{jit-lock-defer-multiline} property on the construct. 3078Place a @code{jit-lock-defer-multiline} property on the construct.
3078This works only if @code{jit-lock-contextually} is used, but it can 3079This works only if @code{jit-lock-contextually} is used, and with the
3079handle the case where highlighting depends on subsequent lines. 3080same delay before rehighlighting, but like @code{font-lock-multiline},
3081it also handles the case where highlighting depends on
3082subsequent lines.
3080@end itemize 3083@end itemize
3081 3084
3082@menu 3085@menu
@@ -3089,7 +3092,7 @@ handle the case where highlighting depends on subsequent lines.
3089@subsubsection Font Lock Multiline 3092@subsubsection Font Lock Multiline
3090 3093
3091 One way to ensure reliable rehighlighting of multiline Font Lock 3094 One way to ensure reliable rehighlighting of multiline Font Lock
3092constructs is to put on the text property @code{font-lock-multiline}. 3095constructs is to put on them the text property @code{font-lock-multiline}.
3093It should be present and non-@code{nil} for text that is part of a 3096It should be present and non-@code{nil} for text that is part of a
3094multiline construct. 3097multiline construct.
3095 3098