Mercurial > emacs
diff lisp/progmodes/glasses.el @ 30523:87bca20b7a83
(glasses-make-readable): Fix uncapitalization of
identifiers like `myXMLDocument'.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sun, 30 Jul 2000 11:49:57 +0000 |
parents | 4756047a4398 |
children | 1b2e8bd62f76 |
line wrap: on
line diff
--- a/lisp/progmodes/glasses.el Sun Jul 30 11:49:38 2000 +0000 +++ b/lisp/progmodes/glasses.el Sun Jul 30 11:49:57 2000 +0000 @@ -186,6 +186,8 @@ (o (glasses-make-overlay (match-beginning n) (match-end n)))) (goto-char (match-beginning n)) (when (and glasses-uncapitalize-p + (save-match-data + (looking-at "[A-Z]\\($\\|[^A-Z]\\)")) (save-excursion (save-match-data (re-search-backward "\\<.")