diff options
| author | Johan Bockgård | 2011-07-12 23:59:09 +0200 |
|---|---|---|
| committer | Johan Bockgård | 2011-07-12 23:59:09 +0200 |
| commit | 460c0fbaf95afc285c0d5f34c7a514bd56292902 (patch) | |
| tree | 58859619a3ab22966797c2e65bdb844ea3325a79 /lisp | |
| parent | bc985c877c5b4d8cc87976a834cede666edc0ed5 (diff) | |
| download | emacs-460c0fbaf95afc285c0d5f34c7a514bd56292902.tar.gz emacs-460c0fbaf95afc285c0d5f34c7a514bd56292902.zip | |
* mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/mouse-sel.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f0c5040b5ec..a7621f18696 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-07-12 Johan Bockgård <bojohan@gnu.org> | ||
| 2 | |||
| 3 | * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face. | ||
| 4 | |||
| 1 | 2011-07-12 Chong Yidong <cyd@stupidchicken.com> | 5 | 2011-07-12 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * mouse-sel.el: Hack restoring functionality, while keeping | 7 | * mouse-sel.el: Hack restoring functionality, while keeping |
diff --git a/lisp/mouse-sel.el b/lisp/mouse-sel.el index 8f27b0e162b..50d221b6fa0 100644 --- a/lisp/mouse-sel.el +++ b/lisp/mouse-sel.el | |||
| @@ -279,7 +279,7 @@ kill ring; mouse-1 or mouse-3 kills it." | |||
| 279 | (defconst mouse-sel-primary-overlay | 279 | (defconst mouse-sel-primary-overlay |
| 280 | (let ((ol (make-overlay (point-min) (point-min)))) | 280 | (let ((ol (make-overlay (point-min) (point-min)))) |
| 281 | (delete-overlay ol) | 281 | (delete-overlay ol) |
| 282 | (overlay-put ol 'face 'secondary-selection) | 282 | (overlay-put ol 'face 'region) |
| 283 | ol) | 283 | ol) |
| 284 | "An overlay which records the current primary selection. | 284 | "An overlay which records the current primary selection. |
| 285 | This is used by Mouse Sel mode only.") | 285 | This is used by Mouse Sel mode only.") |