branch: master
commit 52d27147654b448de90646d96b15bcbc2289a3fe
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Fix #40
---
mmm-region.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/mmm-region.el b/mmm-region.el
index 5d9b987..7fecc1f 100644
--- a/mmm-region.el
+++ b/mmm-region.el
@@ -391,7 +391,9 @@ with point at the start of the new region."
;; Save evaporation type for checking later
(overlay-put region-ovl 'mmm-evap evaporation)
;; Calculate priority to supersede anything already there.
- (overlay-put region-ovl 'priority (length (mmm-overlays-at beg)))
+ ;; XXX: Actually, don't, in order not to hide the region highlighting.
+ ;; Let's try omitting the priorities and see if any problems crop up.
+ ;; (overlay-put region-ovl 'priority (length (mmm-overlays-at beg)))
;; Make overlays for the delimiters, with appropriate pointers.
(when front
(let ((front-ovl