diff options
| author | Mark Oteiza | 2016-04-26 11:42:53 -0400 |
|---|---|---|
| committer | Mark Oteiza | 2016-04-26 11:42:53 -0400 |
| commit | ccb75d72bd02885109c7c339c1f72a393a9d3d22 (patch) | |
| tree | 6ad3a74a092016d2052ee0d98e96c9aa4f0c6e16 | |
| parent | 8ee168a798d7995cb9f16c9a2a8539761833907b (diff) | |
| download | emacs-ccb75d72bd02885109c7c339c1f72a393a9d3d22.tar.gz emacs-ccb75d72bd02885109c7c339c1f72a393a9d3d22.zip | |
Partially revert previous change.
This commit partially reverts 0f332848cdb2ed6d46771914a911cbca194cd51a.
* lisp/rect.el (rectangle--highlight-for-redisplay): Use region face.
This function is for rectangle-mark-mode, not string-rectangle.
| -rw-r--r-- | lisp/rect.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/rect.el b/lisp/rect.el index 6056b14734d..e9a4f4574e3 100644 --- a/lisp/rect.el +++ b/lisp/rect.el | |||
| @@ -783,7 +783,7 @@ Ignores `line-move-visual'." | |||
| 783 | (if (not old) | 783 | (if (not old) |
| 784 | (let ((ol (make-overlay left right))) | 784 | (let ((ol (make-overlay left right))) |
| 785 | (overlay-put ol 'window window) | 785 | (overlay-put ol 'window window) |
| 786 | (overlay-put ol 'face 'rectangle-preview) | 786 | (overlay-put ol 'face 'region) |
| 787 | ol) | 787 | ol) |
| 788 | (let ((ol (pop old))) | 788 | (let ((ol (pop old))) |
| 789 | (move-overlay ol left right (current-buffer)) | 789 | (move-overlay ol left right (current-buffer)) |