]> git.eshelyaron.com Git - emacs.git/commitdiff
(cua--rectangle-operation):
authorKim F. Storm <storm@cua.dk>
Tue, 14 May 2002 21:11:10 +0000 (21:11 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 14 May 2002 21:11:10 +0000 (21:11 +0000)
Don't highlight empty lines in rectangles.

lisp/ChangeLog
lisp/emulation/cua-rect.el

index 4646be1c436a2707cc91fc10d90a0bebb9a635ff..055c649df64d098a6c259b4d3f8403e04fee6be0 100644 (file)
@@ -1,5 +1,8 @@
 2002-05-14  Kim F. Storm  <storm@cua.dk>
 
+       * emulation/cua-rect.el (cua--rectangle-operation): 
+       Don't highlight empty lines in rectangles.
+
        * emulation/keypad.el: Improved commentary.
        (keypad-setup, keypad-shifted-setup): Added choice to setup
        Numeric keypad with decimal key; value is selected character.
index 777fefa58ebf178329a51a1d05313802e14cceae..a3e94dc207d56e5cc41e8020df898be7b1ff7a0e 100644 (file)
@@ -585,7 +585,8 @@ If command is repeated at same position, delete the rectangle."
                   (if (car (cdr (cdr sel)))
                       (setq v (null v))))
                 (if visible
-                    (funcall fct p m l r v)
+                   (unless (eolp)
+                       (funcall fct p m l r v))
                   (if v
                       (funcall fct p m l r)))))
           (set-marker m nil)