* lisp/progmodes/glasses.el (glasses-make-readable): Use the
'display' property instead of 'after-string', so that one is
able to place the cursor on the uncapitalized character.
(Bug#70441)
(cherry picked from commit
c99a1bb1cfc758d3ba78581b72ef8412ee258f76)
(save-match-data
(re-search-backward "\\<.")
(looking-at glasses-uncapitalize-regexp))))
- (overlay-put o 'invisible t)
- (overlay-put o 'after-string (downcase (match-string n))))))
+ (overlay-put o 'display (downcase (match-string n))))))
;; Separator change
(when (and (not (string= glasses-original-separator glasses-separator))
(not (string= glasses-original-separator "")))