aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-11-21 03:51:04 +0000
committerRichard M. Stallman2004-11-21 03:51:04 +0000
commit07c8c65a65b9b9f7a41d3e0784b2702ea2a562ae (patch)
tree3e28c7e360ef69d9ecaff54bf9903146437aeb42
parent8e528e73de37c89b39ed7573145410e192021858 (diff)
downloademacs-07c8c65a65b9b9f7a41d3e0784b2702ea2a562ae.tar.gz
emacs-07c8c65a65b9b9f7a41d3e0784b2702ea2a562ae.zip
(Skipping Characters): skip-chars-forward now handles char classes.
-rw-r--r--lispref/ChangeLog3
-rw-r--r--lispref/positions.texi10
2 files changed, 3 insertions, 10 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 3d6b3cfd59c..5e5cdfc8955 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,5 +1,8 @@
12004-11-20 Richard M. Stallman <rms@gnu.org> 12004-11-20 Richard M. Stallman <rms@gnu.org>
2 2
3 * positions.texi (Skipping Characters): skip-chars-forward
4 now handles char classes.
5
3 * intro.texi (Printing Notation): Avoid confusion of `print' 6 * intro.texi (Printing Notation): Avoid confusion of `print'
4 when explaining @print. 7 when explaining @print.
5 8
diff --git a/lispref/positions.texi b/lispref/positions.texi
index 12ec9f7ff4e..783024da052 100644
--- a/lispref/positions.texi
+++ b/lispref/positions.texi
@@ -796,16 +796,6 @@ comes back" twice.
796@end group 796@end group
797@end example 797@end example
798 798
799Note that char classes are not currently supported in
800@var{character-set}; they will be treated as literals. Thus you
801cannot use @code{"[:alpha:]"} instead of @code{"a-zA-Z"} to include
802non-@acronym{ASCII} letters. A way to skip forward over all letters is:
803
804@example
805(re-search-forward "\\=[[:alpha:]]*" nil t)
806@end example
807@end defun
808
809@defun skip-chars-backward character-set &optional limit 799@defun skip-chars-backward character-set &optional limit
810This function moves point backward, skipping characters that match 800This function moves point backward, skipping characters that match
811@var{character-set}, until @var{limit}. It is just like 801@var{character-set}, until @var{limit}. It is just like