changeset 28439:53ad7abcccf8

(outline-font-lock-keywords): Use :upper: and :alpha: char classes.
author Dave Love <fx@gnu.org>
date Fri, 31 Mar 2000 11:07:14 +0000
parents 8f2651fa9086
children 45337208670b
files lisp/textmodes/ooutline.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/ooutline.el	Fri Mar 31 10:55:08 2000 +0000
+++ b/lisp/textmodes/ooutline.el	Fri Mar 31 11:07:14 2000 +0000
@@ -160,7 +160,7 @@
 	      font-lock-variable-name-face))
 	nil t))
     ;; Highlight citations of the form [1] and [Mar94].
-    ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face))
+    ("\\[\\([[:upper:]][[:alpha:]]+\\)*[0-9]+\\]" . font-lock-type-face))
   "Additional expressions to highlight in Outline mode.")
 
 (defun outline-mode ()