diff options
author | Gerd Moellmann <[email protected]> | 2000-07-30 11:49:57 +0000 |
---|---|---|
committer | Gerd Moellmann <[email protected]> | 2000-07-30 11:49:57 +0000 |
commit | 15cca6c4f6b8751d22c0467a015bfb1880fe9fd8 (patch) | |
tree | c620c744278a88c27a284de489075dcb45235d30 | |
parent | df5e6194c6c291a8c6773f2529917e2517ebf157 (diff) |
(glasses-make-readable): Fix uncapitalization of
identifiers like `myXMLDocument'.
-rw-r--r-- | lisp/progmodes/glasses.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/glasses.el b/lisp/progmodes/glasses.el index 9a4c18e19d..f59ce2b09e 100644 --- a/lisp/progmodes/glasses.el +++ b/lisp/progmodes/glasses.el @@ -186,6 +186,8 @@ CATEGORY is the overlay category. If it is nil, use the `glasses' category." (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 "\\<.") |