changeset 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 acbb1360c715
children 62ed067637af
files lisp/progmodes/glasses.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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 "\\<.")