diff options
| author | Kim F. Storm | 2002-05-14 21:11:10 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2002-05-14 21:11:10 +0000 |
| commit | af1a0140164f96d687b048a9074c5aa73372eafe (patch) | |
| tree | 114fdccd55656fb881bf3b300881ff5a84e88086 | |
| parent | 6df44fac4b2117145b1bab2899cf9b34dffe6d0e (diff) | |
| download | emacs-af1a0140164f96d687b048a9074c5aa73372eafe.tar.gz emacs-af1a0140164f96d687b048a9074c5aa73372eafe.zip | |
(cua--rectangle-operation):
Don't highlight empty lines in rectangles.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/emulation/cua-rect.el | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4646be1c436..055c649df64 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2002-05-14 Kim F. Storm <storm@cua.dk> | 1 | 2002-05-14 Kim F. Storm <storm@cua.dk> |
| 2 | 2 | ||
| 3 | * emulation/cua-rect.el (cua--rectangle-operation): | ||
| 4 | Don't highlight empty lines in rectangles. | ||
| 5 | |||
| 3 | * emulation/keypad.el: Improved commentary. | 6 | * emulation/keypad.el: Improved commentary. |
| 4 | (keypad-setup, keypad-shifted-setup): Added choice to setup | 7 | (keypad-setup, keypad-shifted-setup): Added choice to setup |
| 5 | Numeric keypad with decimal key; value is selected character. | 8 | Numeric keypad with decimal key; value is selected character. |
diff --git a/lisp/emulation/cua-rect.el b/lisp/emulation/cua-rect.el index 777fefa58eb..a3e94dc207d 100644 --- a/lisp/emulation/cua-rect.el +++ b/lisp/emulation/cua-rect.el | |||
| @@ -585,7 +585,8 @@ If command is repeated at same position, delete the rectangle." | |||
| 585 | (if (car (cdr (cdr sel))) | 585 | (if (car (cdr (cdr sel))) |
| 586 | (setq v (null v)))) | 586 | (setq v (null v)))) |
| 587 | (if visible | 587 | (if visible |
| 588 | (funcall fct p m l r v) | 588 | (unless (eolp) |
| 589 | (funcall fct p m l r v)) | ||
| 589 | (if v | 590 | (if v |
| 590 | (funcall fct p m l r))))) | 591 | (funcall fct p m l r))))) |
| 591 | (set-marker m nil) | 592 | (set-marker m nil) |