]> git.eshelyaron.com Git - emacs.git/commitdiff
(outline-font-lock-keywords): Use :upper:
authorDave Love <fx@gnu.org>
Fri, 31 Mar 2000 11:07:14 +0000 (11:07 +0000)
committerDave Love <fx@gnu.org>
Fri, 31 Mar 2000 11:07:14 +0000 (11:07 +0000)
and :alpha: char classes.

lisp/textmodes/ooutline.el

index 8eee5de2f8f89b631c5b136c02db1e0810cc87a7..f2a324bd0f1a801abf032938edf4283761b10a26 100644 (file)
@@ -160,7 +160,7 @@ in the file it applies to."
              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 ()