Commit 15cca6c4 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(glasses-make-readable): Fix uncapitalization of

identifiers like `myXMLDocument'.
parent df5e6194
......@@ -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 "\\<.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment