# HG changeset patch # User Kim F. Storm # Date 1095020799 0 # Node ID 57f225a13a092adc22e6e218f8a5e7945acf3bbf # Parent 666ed3de3a51816ca0303441457db38caafa192d (cua--rectangle-operation): Let bind inhibit-field-text-motion to t so rectangles work in comint buffers. diff -r 666ed3de3a51 -r 57f225a13a09 lisp/emulation/cua-rect.el --- a/lisp/emulation/cua-rect.el Sun Sep 12 20:26:08 2004 +0000 +++ b/lisp/emulation/cua-rect.el Sun Sep 12 20:26:39 2004 +0000 @@ -559,7 +559,8 @@ ;; Rectangle is padded if PAD = t or numeric and (cua--rectangle-virtual-edges) ;; Perform auto-tabify after operation if TABIFY is non-nil. ;; Mark is kept if keep-clear is 'keep and cleared if keep-clear is 'clear. - (let* ((start (cua--rectangle-top)) + (let* ((inhibit-field-text-motion t) + (start (cua--rectangle-top)) (end (cua--rectangle-bot)) (l (cua--rectangle-left)) (r (1+ (cua--rectangle-right)))