From: Dave Love Date: Fri, 31 Mar 2000 11:07:14 +0000 (+0000) Subject: (outline-font-lock-keywords): Use :upper: X-Git-Tag: emacs-pretest-21.0.90~4387 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d951f8cb755d1833108bffc780e7ffb4943a88df;p=emacs.git (outline-font-lock-keywords): Use :upper: and :alpha: char classes. --- diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el index 8eee5de2f8f..f2a324bd0f1 100644 --- a/lisp/textmodes/ooutline.el +++ b/lisp/textmodes/ooutline.el @@ -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 ()