(cua--highlight-rectangle): Set overlay
authorKim F. Storm <storm@cua.dk>
Sun, 19 Mar 2006 19:59:33 +0000 (19:59 +0000)
committerKim F. Storm <storm@cua.dk>
Sun, 19 Mar 2006 19:59:33 +0000 (19:59 +0000)
cursor property value to 2 (to align with C level change).

lisp/emulation/cua-rect.el

index 120866e..33b3855 100644 (file)
@@ -799,8 +799,8 @@ If command is repeated at same position, delete the rectangle."
                                (if cua--virtual-edges-debug ?, ?\s))
                               'face rface))
                     (if (cua--rectangle-right-side)
-                        (put-text-property (1- (length ms)) (length ms) 'cursor t ms)
-                      (put-text-property 0 1 'cursor t ms))
+                        (put-text-property (1- (length ms)) (length ms) 'cursor 2 ms)
+                      (put-text-property 0 1 'cursor 2 ms))
                     (setq bs (concat bs ms))
                     (setq rface nil))
                    (t
@@ -810,8 +810,8 @@ If command is repeated at same position, delete the rectangle."
                                (if cua--virtual-edges-debug ?~ ?\s))
                               'face rface))
                     (if (cua--rectangle-right-side)
-                        (put-text-property (1- (length as)) (length as) 'cursor t as)
-                      (put-text-property 0 1 'cursor t as))
+                        (put-text-property (1- (length as)) (length as) 'cursor 2 as)
+                      (put-text-property 0 1 'cursor 2 as))
                     (if (/= pr le)
                         (setq e (1- e))))))))
             ;; Trim old leading overlays.